To install the “mail” CLI command on Linux using yum just install mailx using the command below.

[root@server ~]# yum install mailx

After installing this package you will be able to send mail using the Linux CLI command mail.

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , ,
6 Responses to “Install mail CLI Command Using yum on Linux”
  1. Ben says:

    Thanks man, some times even the simplest of things get forgotten. Really didnt feel like installing sendmail.
    Cheers
    Ben

    [Reply]

    alex Reply:

    Hello Ben,

    No problem at all. One of the reasons we write these articles is for reference for ourselves… :) Thanks for taking the time to leave feedback.

    Thanks.
    alex

    [Reply]

  2. Mauricio says:

    Thanks I didn’t want to install sendmail either
    :D
    Mauricio

    [Reply]

    alex Reply:

    Hello Mauricio,

    No problem. Thanks for taking the time to leave feedback.

    Thanks.
    alex

    [Reply]

  3. Patrick says:

    Perfect. Thank you for the pointer!

    [Reply]

    alex Reply:

    Hello Patrick,

    No problem. Thanks for posting feedback.

    Thanks.
    alex

    [Reply]

  4.  
Leave a Reply

*Type the letter/number combination in the abvoe field before clicking submit.

*