Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道在 make 之前传递给程序的选项,该选项当前安装在我的 Ubuntu 上(来自 deb)。我想用相同的选项(+一些额外的)手动编译它。
如果您知道程序来自哪个包(用于dpkg -S查找此内容),您可以apt-get source $SOURCEPACKAGENAME(用于apt-cache show查找此内容)源包并研究其中的构建脚本debian/rules,该脚本控制如何配置、构建和拆分包.deb。
dpkg -S
apt-get source $SOURCEPACKAGENAME
apt-cache show
debian/rules
.deb