Loading

AWSのAMIでファイルの文字コードを変換するnkfをインストールできなかった。

sudo yum install nkf
読み込んだプラグイン:priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
パッケージ nkf は利用できません。
エラー: 何もしません

なので、rpmをインストールしてみる。
http://pkgs.org/centos-6/centos-x86_64/nkf-2.0.8b-6.2.el6.x86_64.rpm.html

>wget http://mirror.centos.org/centos/6/os/x86_64/Packages/nkf-2.0.8b-6.2.el6.x86_64.rpm
>sudo rpm -ivh nkf-2.0.8b-6.2.el6.x86_64.rpm
準備しています… ################################# [100%]
更新中 / インストール中…
1:nkf-1:2.0.8b-6.2.el6 ################################# [100%]
>nkf –guess index.html
Shift_JIS (LF)


One thought on “AWSのAMIにnkfをインストールする

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

Top