How to Install and Uninstall opensmtpd Package on Debian 12 (Bookworm)

Last updated: November 26,2024

1. Install "opensmtpd" package

This tutorial shows how to install opensmtpd on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install opensmtpd

2. Uninstall "opensmtpd" package

This tutorial shows how to uninstall opensmtpd on Debian 12 (Bookworm):

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

3. Information about the opensmtpd package on Debian 12 (Bookworm)

Package: opensmtpd
Source: opensmtpd (6.8.0p2-4)
Version: 6.8.0p2-4+b4
Installed-Size: 1077
Maintainer: Ryan Kavanagh
Architecture: amd64
Replaces: mail-transport-agent
Provides: mail-transport-agent
Depends: libc6 (>= 2.36), libcrypt1 (>= 1:4.1.0), libdb5.3, libevent-2.1-7 (>= 2.1.8-stable), libpam0g (>= 0.99.7.1), libssl3 (>= 3.0.0), zlib1g (>= 1:1.1.4), debconf (>= 0.5) | debconf-2.0, adduser, ed, lsb-base (>= 3.0-6)
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: opensmtpd-extras
Suggests: ca-certificates
Conflicts: mail-transport-agent, sendmail-base
Breaks: opensmtpd-extras (<< 6.6.0)
Description: secure, reliable, lean, and easy-to configure SMTP server
Description-md5: be8df8944be13df6be34d92bf71cf048
Homepage: https://www.opensmtpd.org/
Section: mail
Priority: optional
Filename: pool/main/o/opensmtpd/opensmtpd_6.8.0p2-4+b4_amd64.deb
Size: 320736
MD5sum: 64416b53e11225edd36fd2f174a96951
SHA256: bc65da374dc50f4ea2ad16ae50a47f8d627f1a857be5f030df2228cf83b71874