安装库时-devel是什么意思?

发布于 2024-12-13 05:57:13 字数 177 浏览 3 评论 0原文

我正在阅读一些自述文件,它们包含一些带有“-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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寒冷纷飞旳雪 2024-12-20 05:57:13

开发库通常包含最终用户运行时不需要的开发标头和调试资源。这些头文件和调试资源用于开发基于该库的应用程序;不仅仅是运行需要该库的应用程序。如果您在不使用 -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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文