How to Install and Uninstall opensmtpd Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: February 17,2025

1. Install "opensmtpd" package

Learn how to install opensmtpd on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install opensmtpd

2. Uninstall "opensmtpd" package

Please follow the guidance below to uninstall opensmtpd on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove opensmtpd $ sudo apt autoclean && sudo apt autoremove

3. Information about the opensmtpd package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: opensmtpd
Architecture: amd64
Version: 6.0.3p1-1ubuntu0.2
Priority: extra
Section: universe/mail
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ryan Kavanagh
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 797
Provides: mail-transport-agent
Depends: libasr0 (>= 1.0.2), libc6 (>= 2.25), libdb5.3, libevent-2.1-6 (>= 2.1.8-stable), libpam0g (>= 0.99.7.1), libssl1.0.0 (>= 1.0.1), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0, adduser, ed, lsb-base (>= 3.0-6)
Recommends: opensmtpd-extras
Suggests: ca-certificates
Conflicts: mail-transport-agent
Replaces: mail-transport-agent
Filename: pool/universe/o/opensmtpd/opensmtpd_6.0.3p1-1ubuntu0.2_amd64.deb
Size: 260828
MD5sum: afc862e7ee0b36382ff26b88f38c8606
SHA1: ee023a397fe8e3e7d2f8154b21c8595e565c4995
SHA256: ad7bbde960867c2f432c0e2fcecfddbbe42e52c05621b5dd17fd58a801724d40
SHA512: 8b2c8a4de4f33df5c0b5a2a4f8b8beb386fc360c9e8f0f78a24fdd674d1b11ea6ff92600cec71358b81be718ca3f9848ca4b0b73fc7ecc23ffc4e58dab9bc3a1
Homepage: https://www.opensmtpd.org/
Description: secure, reliable, lean, and easy-to configure SMTP server
Description-md5: be8df8944be13df6be34d92bf71cf048

Package: opensmtpd
Architecture: amd64
Version: 6.0.3p1-1build1
Priority: extra
Section: universe/mail
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Ryan Kavanagh
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 793
Provides: mail-transport-agent
Depends: libasr0 (>= 1.0.2), libc6 (>= 2.25), libdb5.3, libevent-2.1-6 (>= 2.1.8-stable), libpam0g (>= 0.99.7.1), libssl1.0.0 (>= 1.0.1), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0, adduser, ed, lsb-base (>= 3.0-6)
Recommends: opensmtpd-extras
Suggests: ca-certificates
Conflicts: mail-transport-agent
Replaces: mail-transport-agent
Filename: pool/universe/o/opensmtpd/opensmtpd_6.0.3p1-1build1_amd64.deb
Size: 260400
MD5sum: acb5e04dfc1ffd040c6ec1ed7aaa3f07
SHA1: c166b27e10928b0f01c5e3e3a7df42d0928338ff
SHA256: b4319a42a7026ebd6bb196d089538bb56ba1ba7fbac7395c3af195c27d13f3f1
Homepage: https://www.opensmtpd.org/
Description: secure, reliable, lean, and easy-to configure SMTP server
Description-md5: be8df8944be13df6be34d92bf71cf048