How to Install and Uninstall bsd-mailx Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: April 29,2024

1. Install "bsd-mailx" package

Please follow the steps below to install bsd-mailx on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install bsd-mailx

2. Uninstall "bsd-mailx" package

This is a short guide on how to uninstall bsd-mailx on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove bsd-mailx $ sudo apt autoclean && sudo apt autoremove

3. Information about the bsd-mailx package on Ubuntu 21.04 (Hirsute Hippo)

Package: bsd-mailx
Architecture: amd64
Version: 8.1.2-0.20180807cvs-2
Priority: optional
Section: mail
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Robert Luberda
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 174
Provides: mail-reader, mailx
Depends: base-files (>= 2.2.0), default-mta | mail-transport-agent, libbsd0 (>= 0.9.1), libc6 (>= 2.17), liblockfile1 (>= 1.0)
Filename: pool/main/b/bsd-mailx/bsd-mailx_8.1.2-0.20180807cvs-2_amd64.deb
Size: 65660
MD5sum: 9f1432c35802493e40bbb9fb451bac17
SHA1: f76995ee0ae1b7d64b1f09a262032ea46cfa04e5
SHA256: 4d45f8a3aa1eefe1180200a88ffab9bcf0506ec12ecb55ac1e6920e29c9e83a7
SHA512: 656b38eee136f58a9cee53e7e18ee2e5f76d6eeb76229c76e0e16260a857fe5ed72e36e8b8fe738c833001a574f0ca4fc55bacc8ff34d6ba70acd189ffc497da
Description-en: simple mail user agent
bsd-mailx is the traditional simple command-line-mode mail user agent.
Even if you don't use it, it may be required by other programs.
.
The /usr/bin/mail command provided by this package is a very simple one,
and does not include many features that can be found in more advanced
mail user agents.
.
For example bsd-mailx DOES NOT support:
- MIME (i.e. no attachments, no UTF-8 or other charsets support);
- SMTP protocol (/usr/sbin/sendmail interface only is used);
- POP3/IMAP (bsd-mailx reads local mailboxes only);
- maildir format (traditional mbox only format is supported).
.
If the above features are needed, please consider installing another package
providing similar /usr/bin/mail interface:
- s-nail package,
- or mailutils package.
Description-md5: e80062c2ba1e87064c776affd111f9bb
Task: mail-server