[CentOS7]源码安装Screen 4.9.1
1. 下载源码包
# screen 4.9.1
curl -O http://ftp.gnu.org/gnu/screen/screen-4.9.1.tar.gz
# 依赖包
curl -O http://ftp.gnu.org/gnu/ncurses/ncurses-6.4.tar.gz
2. 安装依赖否则报错
configure: error: in `/opt/screen/screen-4.9.1':
configure: error: no acceptable C compiler found in $PATH
yum install -y gcc
3. 先安装ncurses-6.4否则安装screen报错
configure: error: !!! no tgetent - no screen
./configure && make && make install
4. 安装screen
./configure && make && make install
5. screen 版本
# screen -v
Screen version 4.09.01 (GNU) 20-Aug-23