源码编译安装 iproute2

 

第一步:下载源码包

https://www.kernel.org/pub/linux/utils/net/iproute2/
git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/shemminger/iproute2

 

第二步:下载Berkly DB

wget http://download.oracle.com/berkeley-db/db-4.6.18.tar.gz
cd db-4.6.18;
cd build_unix;
../dist/configure --prefix=$INSTALLPATH  --enable-compat185;
make;
make install

 

第三步:安装libselinux

 yum install libselinux-devel.x86_64

 

第四步:安装 libelf

yum install elfutils-libelf-devel.x86_64

 

 

第五步:安装libmnl

yum install libmnl-devel.x86_64

 

 

第六步:安装latex

yum install texlive-latex-bin.noarch

yum install linuxdoc-tools.x86_64

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2017-12-23 12:36  elewei  阅读(3456)  评论(0)    收藏  举报