[CentOS 7] yum で jpegoptim をインストールした方法

CentOS 7 です。

$ cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
$

以下のように実行しました。

$ which jpegoptim
/usr/bin/which: no jpegoptim in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/oreore/.local/bin:/home/oreore/bin)
$ yum info jpegoptim
読み込んだプラグイン:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Loading mirror speeds from cached hostfile
 * base: ftp.tsukuba.wide.ad.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
利用可能なパッケージ
名前                : jpegoptim
アーキテクチャー    : x86_64
バージョン          : 1.4.4
リリース            : 1.el7
容量                : 29 k
リポジトリー        : epel/x86_64
要約                : Utility to optimize JPEG files
URL                 : http://www.kokkonen.net/tjko/projects.html
ライセンス          : GPLv2+
説明                : Jpegoptim is an utility to optimize JPEG files. Provides lossless optimization
                    : (based on optimizing the Huffman tables) and "lossy" optimization based on
                    : setting maximum quality factor.

$ sudo yum install jpegoptim
[sudo] password for oreore: 
読み込んだプラグイン:fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
base                                                                                                                            | 3.6 kB  00:00:00     
epel/x86_64/metalink                                                                                                            | 7.7 kB  00:00:00     
epel                                                                                                                            | 4.7 kB  00:00:00     
extras                                                                                                                          | 3.4 kB  00:00:00     
updates                                                                                                                         | 3.4 kB  00:00:00     
(1/5): epel/x86_64/group_gz                                                                                                     | 266 kB  00:00:00     
(2/5): epel/x86_64/updateinfo                                                                                                   | 895 kB  00:00:00     
(3/5): extras/7/x86_64/primary_db                                                                                               | 166 kB  00:00:00     
(4/5): updates/7/x86_64/primary_db                                                                                              | 6.0 MB  00:00:01     
(5/5): epel/x86_64/primary_db                                                                                                   | 6.3 MB  00:00:02     
Determining fastest mirrors
 * base: ftp.tsukuba.wide.ad.jp
 * epel: ftp.riken.jp
 * extras: ftp.tsukuba.wide.ad.jp
 * updates: ftp.tsukuba.wide.ad.jp
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ jpegoptim.x86_64 0:1.4.4-1.el7 を インストール
--> 依存性解決を終了しました。

依存性を解決しました

=======================================================================================================================================================
 Package                              アーキテクチャー                  バージョン                               リポジトリー                     容量
=======================================================================================================================================================
インストール中:
 jpegoptim                            x86_64                            1.4.4-1.el7                              epel                             29 k

トランザクションの要約
=======================================================================================================================================================
インストール  1 パッケージ

総ダウンロード容量: 29 k
インストール容量: 57 k
Is this ok [y/d/N]: y
Downloading packages:
jpegoptim-1.4.4-1.el7.x86_64.rpm                                                                                                |  29 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : jpegoptim-1.4.4-1.el7.x86_64                                                                                           1/1 
  検証中                  : jpegoptim-1.4.4-1.el7.x86_64                                                                                           1/1 

インストール:
  jpegoptim.x86_64 0:1.4.4-1.el7                                                                                                                       

完了しました!
$ which jpegoptim
/usr/bin/jpegoptim
$

yum 一発でインストールできました!

コメントを残す

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

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください