CentOS 7:(yum) [pciutils] lspciをインストールする
目的
CentOS 7を「最小限のインストール」でインストールした結果、lspciコマンドが利用出来なかった為、pciutilsパッケージをインストールした。個人的な備忘のために記事を書く。
コマンド
以下のコマンドでpciutilsパッケージをインストールする。
#pciutilsパッケージのインストール [root@localhost ~]# yum -y install pciutils
実行結果
読み込んだプラグイン:fastestmirror Loading mirror speeds from cached hostfile * base: ftp.tsukuba.wide.ad.jp * extras: ftp.tsukuba.wide.ad.jp * updates: ftp.tsukuba.wide.ad.jp 依存性の解決をしています --> トランザクションの確認を実行しています。 ---> パッケージ pciutils.x86_64 0:3.2.1-4.el7 を インストール --> 依存性解決を終了しました。 依存性を解決しました ====================================================================================================================================================== Package アーキテクチャー バージョン リポジトリー 容量 ====================================================================================================================================================== インストール中: pciutils x86_64 3.2.1-4.el7 base 90 k トランザクションの要約 ====================================================================================================================================================== インストール 1 パッケージ 総ダウンロード容量: 90 k インストール容量: 189 k Downloading packages: 警告: /var/cache/yum/x86_64/7/base/packages/pciutils-3.2.1-4.el7.x86_64.rpm: ヘッダー V3 RSA/SHA256 Signature、鍵 ID f4a80eb5: NOKEY pciutils-3.2.1-4.el7.x86_64.rpm の公開鍵がインストールされていません pciutils-3.2.1-4.el7.x86_64.rpm | 90 kB 00:00:00 file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 から鍵を取得中です。 Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>" Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-2.1511.el7.centos.2.10.x86_64 (@anaconda) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Running transaction check Running transaction test Transaction test succeeded Running transaction インストール中 : pciutils-3.2.1-4.el7.x86_64 1/1 検証中 : pciutils-3.2.1-4.el7.x86_64 1/1 インストール: pciutils.x86_64 0:3.2.1-4.el7 完了しました!
利用環境
CentOS 7.2.1511