
ショコラ
CentOS に nkfコマンドをインストールするには?
EPELリポジトリをインストールして、「nkf」パッケージでキメマス。

もっさん先輩
手順
- EPELリポジトリをインストールします。
yum install -y epel-release
- nkfパッケージをインストールします。
yum install -y nkf
シチュエーション
CentOSコンテナの中で nkfパッケージをインストールしようとしたところ、「No package nkf available.」のエラーになった。
# yum install nkf
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
* base: download.cf.centos.org
* extras: download.cf.centos.org
* updates: download.cf.centos.org
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
updates/7/x86_64/primary_db | 16 MB 00:00:01
No package nkf available.
Error: Nothing to do