Linux包存储库中的* -dev包实际包含什么? [英] What do the *-dev packages in the Linux package repositories actually contain?

查看:235
本文介绍了Linux包存储库中的* -dev包实际包含什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是非常基本的,正如我现在的知识一样。

My question is very basic, as is my knowledge right now.

我是一个长期的Linux用户,但最近才引起了极大的兴趣编程。我看到Ubuntu存储库中的许多流行应用程序都有-dev软件包(例如除了 pidgin 之外的 pidgin-dev )。我的问题是这样的:

I'm a long-time Linux user, but have only recently taken a major interest in programming. I see that many popular applications in the Ubuntu repositories have -dev packages (e.g. pidgin-dev in addition to pidgin). My question is this:

这些包中有什么?如何下载pidgin-dev 有助于开发Pidgin?对于为给定的应用程序创建插件所需的工具,它是一个依赖检查简单的方法吗?

What is in these packages? How does downloading pidgin-dev help one to develop for Pidgin? Is it as simple as a dependency check for the tools necessary to create the plugins for the given application?

我希望有大量的文档 - dev包,但如果有,我不知道如何访问它。我正在想像一个man页面,但对编辑代码是有用的。

I was hoping there would be a substantial amount of documentation in the -dev packages, but if there is, I can't figure out how to access it. I'm thinking of something like a man-page, but useful for editing code.

任何和所有的建议都不止欢迎!

Any and all advice more than welcome!

推荐答案

* - dev 包最常包含与库接口相关的标题。接下来最常见的是描述构建选项和静态链接库的包配置文件( *。pc )。

The *-dev packages most often contain the headers related to a library's interface. Next most common are package-config files (*.pc) describing build options and staticly linked libraries.

一般来说,如果你想知道你已经安装的软件包的内容, dpkg -L pkgname 将会得到你。 apt-file 程序可以告诉您相同的存储库中的任何包。

In general, if you want to know the contents of a package you have installed, dpkg -L pkgname will get you that. The apt-file program can tell you the same for any package in the repositories.

另请注意, William Pursell和caf的答案包含有用的附加细节。如果您发现他们的输入有帮助,请升级。

Note, also, that the answers by William Pursell and caf contain useful additional details. If you find their input helpful, do upvote it.

这篇关于Linux包存储库中的* -dev包实际包含什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆