具体实操步骤如下:

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

最终实现的效果图如下: