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 包中?
有没有办法提取 rpm 并添加文件并重建包含新文件的包?
您可以使用rpm2cpio 和cpio命令来提取 RPM 的内容。这不会创建规范文件,因此您需要找到一个副本,或创建一个。