Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试学习如何使用 rpm-python 模块(即 RHEL5 上的“import rpm”)。我找不到任何完整或最新的教程。特别是关于如何在系统上安装和管理 rpm。任何人?
Fedora网站上有一些文档。
如果您使用的是 RHEL,那么您可以认真考虑直接使用 yum API 而不是 rpm-python ... API 更易于使用。
Centos 5.6 使用 rpm 4.4.2.3。我会使用开发人员文档