Centos7.6 安装cmatrix黑客帝国代码屏保

想在自己的Linux上安装炫酷的屏保吗?cmatrix就可以帮你实现高大上的效果,而且只需要几步就可以完成,非常简单!

1、下载软件包:cmatrix-1.2a.tar.gz并上传到服务器

下载地址:https://wwa.lanzous.com/iPfowejfp3g

2、加压缩软件包

[root@localhost ~]# tar -zxvf cmatrix-1.2a.tar.gz

3、安装两个依赖环境

[root@localhost ~]# yum install -y gcc
[root@localhost ~]# yum install -y ncurses-devel

4、进入目录并进行配置

[root@localhost ~]# cd cmatrix-1.2a
[root@localhost cmatrix-1.2a]# ./configure --prefix=/apps/cmatrix

5、将脚本进行编译&安装

[root@localhost cmatrix-1.2a]# make
[root@localhost cmatrix-1.2a]# make install

6、进入安装目录执行程序

[root@localhost cmatrix-1.2a]# cd /apps/cmatrix/bin/
[root@localhost bin]# ./cmatrix

效果如下:
Centos7.6 安装cmatrix黑客帝国代码屏保_第1张图片

如果想加粗一下字母并提高亮度,可以这样:

[root@localhost bin]# ./cmatrix -b

效果如下:
Centos7.6 安装cmatrix黑客帝国代码屏保_第2张图片

如果想要更多有趣的玩法,可以执行在命令后加上“-help”,可以查看手册:

[root@localhost bin]# ./cmatrix -help

 Usage: cmatrix -[abBfhlsVx] [-u delay] [-C color]
 -a: Asynchronous scroll
 -b: Bold characters on
 -B: All bold characters (overrides -b)
 -f: Force the linux $TERM type to be on
 -l: Linux mode (uses matrix console font)
 -o: Use old-style scrolling
 -h: Print usage and exit
 -n: No bold characters (overrides -b and -B, default)
 -s: "Screensaver" mode, exits on first keystroke
 -x: X window mode, use if your xterm is using mtx.pcf
 -V: Print version information and exit
 -u delay (0 - 10, default 4): Screen update delay
 -C [color]: Use this color for matrix (default green)

你可能感兴趣的:(Linux)