CC00020.NavigationLog——|伪黑客命令&cmartix&blessed-contrib&hollywood&sl&cowsay&yes&cal&AS...

一、cmartix部署教程### --- 下载cmartix部署源码包:cmatrix-1.2.tar.gz~~~ # 下载cmartix部署源码包:cmatrix-1.2.tar.gz~~~ cmartix源码包地址:https://github.com/abishekvashok/cmatrix/releases### --- 部署安装:~~~ ...
摘要由CSDN通过智能技术生成
一、cmartix部署教程
### --- 下载cmartix部署源码包:cmatrix-1.2.tar.gz

~~~		# 下载cmartix部署源码包:cmatrix-1.2.tar.gz
~~~		cmartix源码包地址:https://github.com/abishekvashok/cmatrix/releases
### --- 部署安装:

~~~		# 安装环境依赖包,上传软件包并解压
[root@localhost ~]#  yum install -y gcc gcc-c++ cc ncurses-devel ncurses 	// 安装软件依赖包及环境:
[root@localhost ~]# tar -zxvf cmatrix-1.2.tar.gz
[root@localhost ~]# cd cmatrix-1.2.tar/
~~~		# 执行预编译,编译,安装
 
[root@localhost cmatrix-1.2]# 	./configure --prefix=/opt/cmatrix/
[root@localhost cmatrix-1.2]# make
make  all-am
make[1]: Entering directory `/root/cmatrix-1.2'
gcc -DHAVE_CONFIG_H -I.     -g -O2 -MT cmatrix.o -MD -MP -MF .deps/cmatrix.Tpo -c -o cmatrix.o cmatrix.c
mv -f .deps/cmatrix.Tpo .deps/cmatrix.Po
gcc  -g -O2   -o cmatrix cmatrix.o  -lncurses  -lncurses
make[1]: Leaving directory `/root/cmatrix-1.2'

[root@localhost cmatrix-1.2]# make install
make[1]: Entering directory `/root/cmatrix-1.2'
 /usr/bin/mkdir -p '/opt/cmatrix/bin'
  /usr/bin/install -c cmatrix '/opt/cmatrix/bin'
 Installing matrix fonts in /usr/lib/kbd/consolefonts...
 /usr/bin/mkdir -p '/opt/cmatrix/share/man/man1'
 /usr/bin/install -c -m 644 cmatrix.1 '/opt/cmatrix/share/man/man1'
make[1]: Leaving directory `/root/cmatrix-1.2'
~~~		# 创建软连接并测试是否OK

[root@localhost ~]# ln -s /opt/cmatrix/bin/cmatrix /usr/local/bin/cmatrix
[root@localhost ~]# ll /usr/local/bin/cmatrix
lrwxrwxrwx 1 root root 24 Nov 27 15:39 /usr/local/bin/cmatrix -> /opt/cmatrix/bin/cmatrix
[root@localhost ~]# cmatrix -V
 CMatrix version 1.2 (compiled 15:19:2
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

yanqi_vip

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值