简体   繁体   English

从 YUM/DNF 安装时是否包含源代码?

[英]Is source included when installing from YUM/DNF?

When I install an application (MySQL in this case) via DNF/YUM on CentOS, is the source included somewhere or only the binary/package?当我通过 CentOS 上的 DNF/YUM 安装应用程序(在本例中为 MySQL)时,源代码是包含在某处还是仅包含二进制文件/包? I've looked in /usr/src/ but it's only got the kernel and debug in there.我查看了/usr/src/但它只有 kernel 并在那里调试。

Source code is in -src package.源代码在-src package 中。 If you want the source code, install a package with similar name and include src .如果您想要源代码,请安装一个名称相似的 package 并包含src

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM