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 を使用して Red Hat Enterprise Linux 5 にパッケージのグループをインストールする方法

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux 5

Issue

  • yum を使用して Red Hat Enterprise Linux 5 にパッケージのグループをインストールする方法は?

Resolution

オプションの yum grouplist コマンドを使用すると、利用可能なパッケージグループを一覧表示することができます。オプションの groupinstall は、パッケージのグループをインストールするために使用されます。ただし、インストール CD から Red Hat Enterprise Linux をインストールすると、yum grouplist` コマンドがすべてのグループを一覧表示することができません。この問題を解決する非表示オプションがあります。たとえば、Chinese Support グループが非表示です。

このように、非表示のグループを含むすべてのグループを表示するには、次のコマンドを実行します。

# yum grouplist hidden

これによって、Chinese Support を含む利用可能なパッケージグループがすべて一覧表示されます。

特定のグループ下にパッケージをインストールするには、以下のコマンドを実行してください。

# yum groupinstall "<group name>"

たとえば、次のようにします。

# yum groupinstall "Chinese Support"

# yum groupinstall "KDE (K Desktop Environment)"

グループ名はクォーテーションマークで囲む必要があることに注意してください。

  • 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