随笔分类 -  linux下软件安装

摘要:想用nethogs查看网络问题的时候,发现如下报错 root@localhost:~# nethogs creating socket failed while establishing local IP - are you root? 问我是不是root,网上查了一下,说是0.8.0版本有问题,需 阅读全文
posted @ 2020-05-28 17:26 溟漓 阅读(771) 评论(0) 推荐(0)
摘要:在linux环境下会遇到各种command not found的情况,大部分是可以直接安装同名的包可以解决,但有一些不是,这里做一下汇总,总结各种命令或者工具的安装情况: 非同名安装: 包名 Debian CentOS 备注 yacc byacc lex flex pidstat sysstat d 阅读全文
posted @ 2019-08-27 16:37 溟漓 阅读(381) 评论(0) 推荐(0)
摘要:debian系统上,手动编译tmux的时候,执行./autogen.sh出现如下报错: $ ./autogen.sh configure.ac:91: error: possibly undefined macro: AC_SEARCH_LIBS If this token and others a 阅读全文
posted @ 2019-08-19 17:34 溟漓 阅读(1019) 评论(0) 推荐(0)
摘要:1、安装ncurses库 1.1、获取源码 wget https://invisible-island.net/datafiles/release/ncurses.tar.gz tar xvf ncurses.tar.gz cd ~/ncurses-6.1 1.2、进行配置 ./configure 阅读全文
posted @ 2019-08-07 13:21 溟漓 阅读(1739) 评论(0) 推荐(0)
摘要:$ wget https://github.com/gperftools/gperftools/releases/download/gperftools-2.7/gperftools-2.7.tar.gz $ tar -xzf gperftools-2.7.tar.gz $ cd gperftool 阅读全文
posted @ 2018-12-15 16:59 溟漓 阅读(1290) 评论(0) 推荐(0)
摘要:Python3的安装方式非常的简单,首先去到Python下载目录下载想要的Python包,这里我选择了3.6.5版本 $ wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz --2018-06-26 07:38:46-- htt 阅读全文
posted @ 2018-06-26 08:23 溟漓 阅读(8680) 评论(0) 推荐(2)
摘要:安装sshpass的时候,报了如下错误: No Package sshpass available 更改软件源之后也无效。直到看到StackOverFlow上的一个问题:https://stackoverflow.com/questions/25329501/installing-openssh-o 阅读全文
posted @ 2018-05-29 17:24 溟漓 阅读(1601) 评论(0) 推荐(0)
摘要:系统:CentOs6.9 gcc版本:5.1.0 github上拉取vim工程之后,cd src,执行一下命令: $ ./configure $ sudo make gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -U_FORTIFY_SOURCE -D_FORT 阅读全文
posted @ 2018-05-28 15:40 溟漓 阅读(2320) 评论(0) 推荐(0)