本文介绍了安装库时 -devel 是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读一些自述文件,它们包含一些带有-devel"的包,而一些没有.有什么区别?

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

如果我安装sudo yum install pcre"会怎样?

What would happen if I installed "sudo yum install pcre" instead?

推荐答案

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

这篇关于安装库时 -devel 是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 04:52