0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

yumコマンド

Last updated at Posted at 2020-07-24

よく使う基本コマンド

パッケージをインストール
yum install パッケージ名
アップデート可能な全パッケージを表示
yum check-update
アップデート可能な全パッケージを表示
yum update パッケージ名 #パッケージ名指定なしならば全体をアップデート
パッケージをアンインストール
yum remove パッケージ名
yum erase パッケージ名
パッケージを表示
yum list
yum list installed  # インストール済パッケージを表示
依存関係にあるパッケージを検索
yum provides パッケージ名
パッケージを検索
yum search パッケージ名
# パッケージのバージョン検索
yum --showduplicates search パッケージ名
パッケージの詳細情報を表示
yum info パッケージ名
キャッシュをクリアする
yum clean all
yum clean packages # ダウンロードしたパッケージをすべてクリアする
有効なリポジトリのリストを表示する
yum repolist
yum repolist disabled # 無効のリポジトリを表示
yum repolist all # 全てのリポジトリを表示
パッケージグループの操作。基本的に同じ
yum groupinstall パッケージグループ名
yum groupupdate パッケージグループ名
yum groupremove パッケージグループ名
yum grouplist
yum groupinfo パッケージグループ名
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?