# 包管理

## 本章目录

* [pkgtool](https://slackwarecn.gitbook.io/slackbook_cn/chapter_17/pkgtool)
* [软件包的安装、移除和升级](https://slackwarecn.gitbook.io/slackbook_cn/chapter_17/installing_removing_and_upgrading_packages)
* [软件包的压缩格式](https://slackwarecn.gitbook.io/slackbook_cn/chapter_17/package_compression_formats)
  * [slackpkg](https://slackwarecn.gitbook.io/slackbook_cn/chapter_17/package_compression_formats/slackpkg)
  * [rpm2tgz](https://slackwarecn.gitbook.io/slackbook_cn/chapter_17/package_compression_formats/rpm2tgz)

包管理是每个 Linux 发行版的主要组成部分。Slackware 中的所有软件和很多第三方工具都是以源代码形式发布的，但编译这数以千计的程序和厍既麻烦又耗时，所以很多人都喜欢安装已经编译好了的软件包。事实上，在你安装 Slackware 的时候，安装程序主要做的就是在一系列的软件包上执行包管理工具。这里我们将会看到用于处理 Slackware 软件包的各种工具。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://slackwarecn.gitbook.io/slackbook_cn/chapter_17.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
