TheRiver | blog

You have reached the world's edge, none but devils play past here

0%

cgdb安装

参考

CentOS7 安装cgdb

说明

在没有外网的centos6下尝试离线安装cgdb,花了很多时间,最后都没有成功,很挫败了。晚上在centos7下联网再试了一次,参考上面的文章轻轻松松搞定,这篇文章主要记录一下,跟参考的连接没有多大区别.

依赖

[root@localhost ~]# yum install ncurses-devel
[root@localhost ~]# yum install texinfo
[root@localhost ~]# yum install readline-devel

编译安装

[root@localhost ~]# wget https://github.com/cgdb/cgdb/archive/v0.7.0.tar.gz
[root@localhost ~]# tar xf v0.7.0.tar.gz 
[root@localhost ~]# cd cgdb-0.7.0/
[root@localhost cgdb-0.7.0]# ./autogen.sh 
[root@localhost cgdb-0.7.0]# ./configure --prefix=${HOME}/cgdb
[root@localhost cgdb-0.7.0]# make && make install

成果

cgdb.png

ending

64585758_p0.jpg

----------- ending -----------