Translated message

A translation of this page exists in English.

如何使用 rpmbuild 构建源 RPM?

已更新 -

构建源 RPM 会将特定软件包的源代码编译为适用于您的计算机的可执行二进制文件。当没有适用于当前内核或您所使用的 Red Hat Enterprise Linux 版本的二进制 RPM 时,这很有用。源 RPM 通常带有文件名 <rpm-name.version>.src.rpm

构建源 RPM 的一个快速简单的方法是执行以下步骤:

1.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content