源碼編譯安裝 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

 

 

 

 

 

 

 

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM