1、首先安装编译环境
yum -y install ncurses* gcc gcc-c++
cmatrix包如下链接:cmatrix包;提取码bk6a
2、上传cmatrix包
[root@centos02 ~]# rz <!--上传cmatrix包-->
[root@centos02 ~]# ls
cmatrix-1.2a.tar.gz
[root@centos02 ~]# tar zxvf cmatrix-1.2a.tar.gz -C /usr/src/ <!--解压cmatrix包-->
3、配置、编译安装cmatrix
[root@centos02 ~]# cd /usr/src/cmatrix-1.2a/
[root@centos02 cmatrix-1.2a]# ./configure && make && make install
4、安装完成直接执行
[root@centos02 ~]# cmatrix
5、效果如下:
6、cnatrix参数如下:
7、在运行的时候按下面这些键会有意外的收获哦!
a B b n
1~9
! @ # $
———————— 本文至此结束,感谢阅读 ————————