码迷,mamicode.com
首页 > 其他好文 > 详细

源码编译安装 screen

时间:2015-08-11 18:16:01      阅读:255      评论:0      收藏:0      [点我收藏+]

标签:

本文转自:http://blog.163.com/oracle_wwf/blog/static/213030127201211191481101/

[root@web1 soft]# wget ftp://ftp.gnu.org/pub/gnu/screen/screen-4.0.3.tar.gz
[root@web1 soft]# tar -xvf screen-4.0.3.tar.gz

[root@web1 soft]# cd screen-4.0.3

[root@web1 screen-4.0.3]# ./configure

[root@web1 screen-4.0.3]# make

[root@web1 screen-4.0.3]# make install

[root@web1 screen-4.0.3]# install -m 644 etc/etcscreenrc /etc/screenrc

[root@web1 screen-4.0.3]# cp ./screen  /bin

 

请注意:与一般程序的安装过程有所不同,后面这两条指令一定要执行

 

 
补充: 一次新安装 screen时,按照上述步骤,make时报错:
configure: error: !!! no tgetent - no screen
make: *** [install] 错误 1
 
解决方法如下: 
yum -y install ncurses-devel

源码编译安装 screen

标签:

原文地址:http://www.cnblogs.com/patf/p/4721477.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!