linux安装lolcat实现彩色文字输出信息

[root@localhost ~]# mount /dev/sr0 /media/
[root@localhost ~]# rpm -ivh epel-release-latest-7.noarch.rpm
[root@localhost ~]# cd /etc/yum.repos.d/
[root@localhost yum.repos.d/]# mv bak/CentOS-Media.repo ./
[root@localhost yum.repos.d/]# mv bak/CentOS-Base.repo ./
[root@localhost yum.repos.d]# cd
[root@localhost ~]# yum clean all
[root@localhost ~]# yum makecache
[root@localhost ~]# yum -y install rubygems ruby ruby-devel rpm-build wget gem
[root@localhost ~]# gem install rubygems-update -v 2.3.0
[root@localhost ~]# wget http://github.com/busyloop/lolcat/archive/master.zip
[root@localhost ~]# unzip master.zip
[root@localhost ~]# cd lolcat-master/
[root@localhost ~]# gem install lolcat

 

posted @ 2019-10-09 19:42  有无  阅读(412)  评论(0编辑  收藏  举报

博客记录了我学习linux过程中的一些问题及解决方法,内容可能仅适用于个人,如带来不便,望请见谅!