2
3

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の使い方メモ

Last updated at Posted at 2017-10-02

概要

yumの使い方を覚えるための学習メモ

リポジトリ情報を照会する

リポジトリ一覧

[root@localhost]# yum repolist

Loaded plugins: fastestmirror
Loading mirror speed from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp

repo id                repo name
base/7/x86_64          CentOS-7 - Base
centos-sclo-rh/x86_64  CentOS-7 - CSLo rh
extras/7/x86_64        CentOS-7 - Extras
updates/7/x86_64       CentOS-7 - Updates
repolist: 15,593

*1 yum repolist allとするとより細かい情報が出てくる。

リポジトリの詳細情報

[root@localhost]# yum repoinfo

Loaded plugins: fastestmirror
Loading mirror speed from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp

Repo-name    : CentOS-7 - Base
Repo-version : 1504648209
Repo-updated : Wed Sep  6 06:151:13 2017
Repo-pkgs    : 9,591
Repo-size    : 7.6 G
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock
Repo-vaseurl : http://ftp.iij.ad.jp/pub/linux/centos/7.4.1708/os/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last; Mon Oct  2 09:31:50 2017)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

~ 略 ~

*1 yum repoinfo allとするとより細かい情報が出てくる。

2
3
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
2
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?