源码包下载:http://mirrors.163.com/ubuntu/

编译工具安装:

apt-get install dpkg-dev

 

以openvswitch为例:

wget http://mirrors.163.com/ubuntu/pool/main/o/openvswitch/openvswitch_2.10.0-0ubuntu2.debian.tar.xz

wget http://mirrors.163.com/ubuntu/pool/main/o/openvswitch/openvswitch_2.10.0.orig.tar.gz

tar -xvf openvswitch_2.10.0.orig.tar.gz

tar -xvf openvswitch_2.10.0-0ubuntu2.debian.tar.xz -C openvswitch-2.10.0

cd openvswitch-2.10.0

export DEB_BUILD_OPTIONS=nocheck

dpkg-buildpackage -b -uc -j12

相关文章:

  • 2022-12-23
  • 2021-11-24
  • 2021-12-27
  • 2022-01-11
  • 2022-12-23
  • 2021-12-18
猜你喜欢
  • 2022-03-01
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-12-25
相关资源
相似解决方案