Translated message

A translation of this page exists in English.

如何使用 yum 安装我的本地 rpm 文件?

已更新 -

使用命令 yum localinstall /path/to/file.rpm。此命令将安装本地 rpm 文件,并在 RHN 或其他配置的存储库上搜索所需的 rpm(依赖项等),为用户安装它。

yum localinstall /path/to/file.rpm
...

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