安装库时-devel是什么意思?
我正在阅读一些自述文件,它们包含一些带有“-devel”的软件包,一些则没有。有什么区别?
sudo yum install gcc
(vs)
sudo yum install pcre-devel
如果我安装“sudo yum install pcre”会发生什么?
I'm reading some readmes and they contain some packages with "-devel", and some without. What is the difference?
sudo yum install gcc
(vs)
sudo yum install pcre-devel
What would happen if I installed "sudo yum install pcre" instead?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
开发库通常包含最终用户运行时不需要的开发标头和调试资源。这些头文件和调试资源用于开发基于该库的应用程序;不仅仅是运行需要该库的应用程序。如果您在不使用 -devel 的情况下安装软件包,则它仅安装最终用户运行时,而不安装开发标头和调试符号。
Devel libraries typically contain development header and debug resources that are not necessary for the end-user runtime. These headers and debug resources are used for the purpose of developing applications based on the library; not just running applications that require the library. If you install the package without -devel, it only installs the end-user runtime, and not the development headers and debug symbols.