0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

yumのメモ

Posted at

登録されているリポジトリ一覧

yum repolist を使う

 $ yum repolist
repo id                   repo name                                       status
base/7/x86_64             CentOS-7 - Base                                 10,072
centos-sclo-rh/x86_64     CentOS-7 - SCLo rh                               8,170
centos-sclo-sclo/x86_64   CentOS-7 - SCLo sclo                               816
extras/7/x86_64           CentOS-7 - Extras                                  526
updates/7/x86_64          CentOS-7 - Updates                               6,149
docker-ce-stable/7/x86_64 Docker CE Stable - x86_64                          337
epel/x86_64               Extra Packages for Enterprise Linux 7 - x86_64  13,791
...

特定のリポジトリからインストールされたパッケージの一覧

epelが供給元のパッケージを調べたいとき

$ yum list installed | grep "@epel"
bubblewrap.x86_64                  0.3.0-1.el7                   @epel
clang.x86_64                       3.4.2-9.el7                   @epel
cmake3.x86_64                      3.17.5-1.el7                  @epel
cmake3-data.noarch                 3.17.5-1.el7                  @epel
darcs.x86_64                       2.8.4-4.el7                   @epel
epel-release.noarch                7-14                          @epel
ghc-array.x86_64                   0.4.0.1-26.4.el7              @epel
ghc-base.x86_64                    4.6.0.1-26.4.el7              @epel
...

yum list installed --disablerepo="*" --enablerepo="epel" でも行けそうな気がするのだけど、期待した結果にならなかった。

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?