从安装sl看软件安装问题

从我的一篇转载博文中想安装sl命令玩玩

在我的虚拟机中安装yum install sl,出现错误:

165110645.jpg

我能是之前我的epel没有配制好的问题(以后解决)

在另外一台电脑上试试看:

[root@uyhd000225 ~]# yum install sl
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * addons: mirror.esocc.com
 * base: mirror.esocc.com
 * extras: mirror.esocc.com
 * updates: mirror.esocc.com
addons                                                                                                                                                                   | 1.9 kB     00:00   
base                                                                                                                                                                     | 1.1 kB     00:00   
epel                                                                                                                                                                     | 3.6 kB     00:00   
epel/primary_db                                                                                                                                                          | 3.9 MB     00:01   
extras                                                                                                                                                                   | 2.1 kB     00:00   
updates                                                                                                                                                                  | 1.9 kB     00:00   
updates/primary_db                                                                                                                                                       | 192 kB     00:00   
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package sl.x86_64 0:3.03-6.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================================================================================
 Package                                   Arch                                          Version                                              Repository                                   Size
================================================================================================================================================================================================
Installing:
 sl                                        x86_64                                        3.03-6.el5                                           epel                                         10 k
Transaction Summary
================================================================================================================================================================================================
Install      1 Package(s)       
Update       0 Package(s)       
Remove       0 Package(s)       
Total download size: 10 k
Is this ok [y/N]: y
Downloading Packages:
sl-3.03-6.el5.x86_64.rpm                                                                                                                                                 |  10 kB     00:00   
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 217521f6

好像没有安装好,看下命令有没有存在

[root@uyhd000225 ~]# sl
-bash: sl: command not found
[root@uyhd000225 ~]# man sl
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="<none>")
No manual entry for sl

找下包有没有下载到:

[root@uyhd000225 ~]# find / -name sl*rpm
/var/cache/yum/epel/packages/sl-3.03-6.el5.x86_64.rpm

安装包:

[root@uyhd000225 ~]# rpm -ivh /var/cache/yum/epel/packages/sl-3.03-6.el5.x86_64.rpm
warning: /var/cache/yum/epel/packages/sl-3.03-6.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6
Preparing...                ########################################### [100%]
   1:sl                     ########################################### [100%]

看看大货车出现没:


165626251.jpg


你可能感兴趣的:(linux,服务器,输入密码)