特别好玩的小火车命令
1.先更新yum源
[root@host ~]# yum -y update
2.安装wget命令
[root@host ~]# yum install wget
安装的时候一致提示No package sl available.就是因为没有安装epel包
3.安装epel包
[root@host ~]# wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-7.repo
4.最后安装sl命令就可以了
[root@host ~]# yum install sl
然后运行sl命令小火车就会动起来啦。