yum -y install unzip unzip cmatrix-master.zip cd cmatrix-master yum -y install autoconf
autoreconf -i
./configure
一般用来生成 Makefile,为下一步的编译做准备
make
这一步就是编译,大多数的源代码包都经过这一步进行编译
make install
这条命令来进行安装(当然有些软件需要先运行 make check 或 make test来进行一些测试),这一步一般需要你有 root 权限(因为要向系统写入文件)
cmatrix
显示效果
unzip BadAppleStringAnimation-master.zip cd BadAppleStringAnimation-master/ gcc 1.c ./a.out
unzip iftop-master.zip cd iftop-master/ yum -y install libpcap-devel 缺少这个报错 ./configure make make install iftop 运行结果如图所示
tar jxf httpd-2.4.34.tar.bz2 cd httpd-2.4.34/ ./configure --disable-proxy 下面make一直报没有proxy,这里关闭,可成功编译安装 make make install 安装完成
unzip 推箱子.zip cd vitetris-master/ ./configure && make make install ./tetris 运行下图
tar zxf ntfs-3g_ntfsprogs-2017.3.23.tgz cd ntfs-3g_ntfsprogs-2017.3.23/ ./configure make make install 安装完后有了这个功能
tar zxf nginx-1.12.2.tar.gz cd nginx-1.12.2/ ./configure make make install 发现多了给命令
tar zxf jdk-8u77-linux-x64.tar.gz vim /etc/profile 配置在图中后3行,配置变量 source /etc/profile java -version 查看版本