Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

什么是yum,怎么使用它?

Solution In Progress - Updated -

Environment

  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 5

Issue

  • 从哪里可以找到 yum 的使用手册?
  • 如何通过 yum 安装 RPM 包?
  • 是否可以通过 yum 命令找到提供某个特定二进制文件的 RPM 包?

Resolution

什么是 yum

yum 是用来下载、安装,删除,查询以及管理由红帽官方软件仓库提供的软件包的主要工具,同时也可以下载、安装,删除,查询以及管理由第三方软件仓库提供的软件包。在 RHEL 5 以及以后的版本上,您可以使用 yum。在 RHEL4 以及之前的版本上,您可以使用 up2date

如何使用 yum ?

Yum Command Cheat Sheet for Red Hat Enterprise Linux 这篇文档介绍了一些关于 yum 常用的命令。同时您可以在该文档下方附件中下载PDF。

Red Hat Enterprise Linux 7

  • 您可以在Red Hat Enterprise Linux 7 System Administrator's Guide chapter 5: Yum 里面查看 yum 的用法。

Red Hat Enterprise Linux 6

  • 您可以在Red Hat Enterprise Linux 6 Deployment Guide chapter 6: Yum 里面查看 yum 的用法。

Red Hat Enterprise Linux 5

  • 您可以在The Red Hat Enterprise Linux 5 Deployment Guide chapter 14: Yum 里面查看 yum 的用法。

Multimedia

  • Component
  • yum

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments