首页 > 其他 > 详细

yum查找软件以及安装方式.

时间:2014-03-06 08:50:57      阅读:624      评论:0      收藏:0      [点我收藏+]
系统因为精简安装或者缺少软件安装的解决方法:
配置yum :
使用yum安装gcc   ; yum install gcc --nogpgcheck -y
对于缺少的系统组件 要使用yum groupinstall "组件名称" --nogpgcheck -y
使用yum grouplist可以查看可安装的系统组件名称;
 Centos精简安装无setup或者crontab :
使用yum 查找;然后安装
------------------------------------------------------------------------------------------------------
[root@topic ~]# yum whatprovides /usr/bin/crontab
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
4:vixie-cron-4.1-81.el5.i386 : The Vixie cron daemon for executing specified programs at set times.
Repo : base
Matched from:
Filename : /usr/bin/crontab
4:vixie-cron-4.1-77.el5_4.1.i386 : The Vixie cron daemon for executing specified programs at set times.
Repo : installed
Matched from:
Other : Provides-match: /usr/bin/crontab
[root@topic ~]# yum install vixie-cron -y
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vixie-cron.i386 4:4.1-81.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Updating:
vixie-cron i386 4:4.1-81.el5 base 81 k
Transaction Summary
======================================================================================================================================
Install 0 Package(s)
Upgrade 1 Package(s)
Total download size: 81 k
Downloading Packages:
vixie-cron-4.1-81.el5.i386.rpm | 81 kB 00:09    
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Public key for vixie-cron-4.1-81.el5.i386.rpm is not installed
setup的安装方法是一样的,先用whatprovides查找到安装名称;然后再用yum install 包名 安装即可 !!


本文出自 “我是小白” 博客,请务必保留此出处http://878045653.blog.51cto.com/2693110/1368915

yum查找软件以及安装方式.,布布扣,bubuko.com

yum查找软件以及安装方式.

原文:http://878045653.blog.51cto.com/2693110/1368915

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!