How to Install and Uninstall bsd-mailx Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 01,2024

1. Install "bsd-mailx" package

This guide covers the steps necessary to install bsd-mailx on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install bsd-mailx

2. Uninstall "bsd-mailx" package

In this section, we are going to explain the necessary steps to uninstall bsd-mailx on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the bsd-mailx package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: bsd-mailx
Priority: optional
Section: mail
Installed-Size: 163
Maintainer: Ubuntu Developers
Original-Maintainer: Robert Luberda
Architecture: amd64
Version: 8.1.2-0.20160123cvs-2
Replaces: mailx (<< 1:20071201)
Provides: mail-reader, mailx
Depends: base-files (>= 2.2.0), default-mta | mail-transport-agent, libbsd0 (>= 0.2.0), libc6 (>= 2.17), liblockfile1 (>= 1.0)
Breaks: mailutils (<< 1:1.1+dfsg1-4), mailx (<< 1:20071201)
Filename: pool/main/b/bsd-mailx/bsd-mailx_8.1.2-0.20160123cvs-2_amd64.deb
Size: 63654
MD5sum: 9c85e977b8e6a69c4562fa76668bd981
SHA1: 8f7af12982ce7589ae084b18653e3f908d19fbe6
SHA256: a00f4d390c69824b115f1078e86963336d35bbd6ef55bc8efa78afa577e89156
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:
- heirloom-mailx package,
- or mailutils package.
Description-md5: 6a40d16f64cad8f0f3874f11989dc9c3
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: mail-server