ubuntu 构建 deb 安装包
生活随笔
收集整理的这篇文章主要介绍了
ubuntu 构建 deb 安装包
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
源码包下载: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
转载于:https://www.cnblogs.com/wangjq19920210/p/11280958.html
总结
以上是生活随笔为你收集整理的ubuntu 构建 deb 安装包的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: ini文件操作类
- 下一篇: ubuntu apt-mirror 同步