• 欢迎访问水熊虫网站,这里是我个人的工作博客,内容大多是遇到问题完善后,会在这里进行总结归纳内容! QQ群
  • 网站导航中的友情链接专栏上线,更新的都是自己这三年整理的一些东西,感兴趣可以看看!
  • 你所浪费的今天,是昨天死去的人奢望的明天。你所厌恶的现在,是未来的你回不去的曾经!

源码编译安装 screen

环境配置 WaterBear 5年前 (2019-07-03) 789次浏览 已收录 扫描二维码

[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-4.0.3.tar.gz


WaterBear , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:源码编译安装 screen
喜欢 (1)
[[email protected]]
分享 (0)