1. Install ncurses support package
yum install ncurses*
2. Download the source code package of Code Rain
wget https://jaist.dl.sourceforge.net/project/cmatrix/cmatrix/1.2a/cmatrix-1.2a.tar.gz
3. Unzip the package
tar -zxvf cmatrix-1.2a.tar.gz
4. Enter the source code package
cd cmatrix-1.2a/
5. Release the compiled files
./configure --prefix=/opt/cmatrix/
6. Compile and install
make && make install
7. Enter the directory to execute the code rain
cd /opt/cmatrix/
./bin/cmatrix
8.Exit
按q或ctrl+c
cmatrix常用命令如下:
cmatrix -a '异步滚动(默认)
cmatrix -b '随机粗体
cmatrix -B '全部粗体
cmatrix -o '使用旧风格滚动
cmatrix -x 'X window 模式
cmatrix -V '显示版本信息
cmatrix -u '刷新频率,0-9,也就是滚动的快慢
cmatrix -C '显示的颜色,支持green(默认),red,blue,white,yellow,cyan,magenta and black
cmatrix -r ·五颜六色
Tutorial is over, thanks for watching