How to Install and Uninstall mailx.x86_64 Package on Amazon Linux 2

Last updated: June 29,2024

1. Install "mailx.x86_64" package

Please follow the instructions below to install mailx.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install mailx.x86_64

2. Uninstall "mailx.x86_64" package

In this section, we are going to explain the necessary steps to uninstall mailx.x86_64 on Amazon Linux 2:

$ sudo yum remove mailx.x86_64 $ sudo yum autoremove

3. Information about the mailx.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : mailx
Arch : x86_64
Version : 12.5
Release : 19.amzn2
Size : 247 k
Repo : amzn2-core/2/x86_64
Summary : Enhanced implementation of the mailx command
URL : http://heirloom.sourceforge.net/mailx.html
License : BSD with advertising and MPLv1.1
Description : Mailx is an enhanced mail command, which provides the
: functionality of the POSIX mailx command, as well as SysV mail and
: Berkeley Mail (from which it is derived).
:
: Additionally to the POSIX features, mailx can work with Maildir/
: e-mail storage format (as well as mailboxes), supports IMAP, POP3
: and SMTP protocols (including over SSL) to operate with remote
: hosts, handles mime types and different charsets. There are a lot
: of other useful features, see mailx(1).
:
: And as its ancient analogues, mailx can be used as a mail script
: language, both for sending and receiving mail.
:
: Besides the "mailx" command, this package provides "mail" and
: "Mail" (which should be compatible with its predecessors from the
: mailx-8.x source), as well as "nail" (the initial name of this
: project).