LoginSignup
42

More than 5 years have passed since last update.

yumコマンド

Posted at

情報取得

yum list

アップデート及び新規インストール可能な全パッケージを表示

yum list installed

インストールされている全パッケージを表示

yum list updates

アップデート可能なパッケージの一覧を表示

yum search パッケージ名(検索ワード)

パッケージの検索

yum info パッケージ名

パッケージ情報の表示

yum provides ファイル名

ファイルがどのパッケージに含まれているのか調べる

yum check-update

アップデート可能な全パッケージを表示

インストール

yum install パッケージ名

パッケージを個別にインストール

アップデート

yum update パッケージ名

指定したパッケージをアップデート。

yum update

システム全体のパッケージのアップデートをします。

削除

yum remove パッケージ名

パッケージの削除

clean

yum clean

ダウンロードしたパッケージと古いヘッダを削除する。clean allと同じ

yum clean oldheaders

古いヘッダを削除

yum clean packages

ダウンロードしたパッケージを削除

参考

http://max01.skr.jp/blog/2006/12/yum.html
http://www.atmarkit.co.jp/flinux/rensai/linuxtips/611usefllyum.html

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
42