8
8

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 5 years have passed since last update.

自分が良く使うyumコマンドまとめ

Posted at

インストール済みのパッケージから特定のパッケージを探す

yum list installed | grep パッケージ名

とか

yum list installed | ag パッケージ名

grep遅いんで、ag使ってます!

特定のリポジトリを有効にしてインストールできるパッケージを検索

yum search nodejs --enablerepo="epel"

指定したパッケージの詳細情報を見る

yum info nginx

特定のリポジトリを無効にしてパッケージをインストール

yum install --disablerepo="epel" haproxy

使用できるリポジトリ一覧を出す

yum repolist

yum repolist all

パッケージのURLを直接していしてインストールする

yum install http://repo.zabbix.com/zabbix/2.0/rhel/6/i386/zabbix-release-2.0-1.el6.noarch.rpm
8
8
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
8
8

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?