具体实操步骤如下:
yum install epel-release
yum install dnf
yum install gcc
yum install make
#yum install ncurses* # 安装相关ncurses支持包
#wget https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gz
#tar -zxvf cmatrix-1.2a.tar.gz //解开压缩包
#cd cmatrix-1.2a/ //进入源目录
#./configure --prefix=/opt/cmatrix/ //编译文件
#make && make install // 编译且安装
#
#cd /opt/cmatrix/ //进入目录
#./bin/cmatrix //启动
#cmatrix -b -C red
#cmatrix -b -C bule
#cmatrix -b -C purple
最终实现的效果图如下:
本文来自博客园,作者:林清|Julien,转载请注明原文链接:https://www.cnblogs.com/Julien1021/p/16264449.html