1.yuminstall -y screen
2.源码安装 https://ftp.gnu.org/gnu/screen/下载gz包到本地,解压至 /usr/local 下
cd /usr/local/screen
./configure
make
make install
如果提示安装 etc/etcscreenrc ,需要在安装
install -m 644 etc/etcscreenrc /etc/screenrc
然后查看是否安装成功
which screen 会显示安装成功
/bin/screen
3.rpm包安装
rpm -ivh screen-4.0.3-19.el6.x86_64.rpm