【CentOS】CentOS6にmailコマンドをインストールする

スポンサーリンク

minimal installのときはmailコマンド入っていないようです(´∀`)

# yum -y install mailx

でOKでした。

以下、そのときのログ

[root@pc02 postfix]# yum install mailx
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
 * base: rsync.atworks.co.jp
 * epel: ftp.riken.jp
 * extras: rsync.atworks.co.jp
 * rpmforge: ftp.riken.jp
 * updates: rsync.atworks.co.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mailx.x86_64 0:12.4-6.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================
 Package                  Arch                      Version                          Repository               Size
===================================================================================================================
Installing:
 mailx                    x86_64                    12.4-6.el6                       base                    234 k

Transaction Summary
===================================================================================================================
Install       1 Package(s)

Total download size: 234 k
Installed size: 452 k
Is this ok [y/N]: y
Downloading Packages:
mailx-12.4-6.el6.x86_64.rpm                                                                 | 234 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : mailx-12.4-6.el6.x86_64                                                                         1/1

Installed:
  mailx.x86_64 0:12.4-6.el6

Complete!

メモメモ(`・ω・´)