本文转自:http://blog.163.com/oracle_wwf/blog/static/213030127201211191481101/
[[email protected] soft]# wget ftp://ftp.gnu.org/pub/gnu/screen/screen-4.0.3.tar.gz
[[email protected] soft]# tar -xvf screen-4.0.3.tar.gz
[[email protected] soft]# cd screen-4.0.3
[[email protected] screen-4.0.3]# ./configure
[[email protected] screen-4.0.3]# make
[[email protected] screen-4.0.3]# make install
[[email protected] screen-4.0.3]# install -m 644 etc/etcscreenrc /etc/screenrc
[[email protected] screen-4.0.3]# cp ./screen /bin
请注意:与一般程序的安装过程有所不同,后面这两条指令一定要执行
补充: 一次新安装 screen时,按照上述步骤,make时报错:
configure: error: !!! no tgetent - no screen
make: *** [install] 错误 1
解决方法如下:
yum -y install ncurses-devel
时间: 2024-10-15 15:43:27