How To Install exim4-base on Ubuntu 20.04
Introduction
In this tutorial we learn how to install exim4-base
on Ubuntu 20.04.
What is exim4-base
exim4-base is:
Exim (v4) is a mail transport agent. exim4-base provides the support files needed by all exim4 daemon packages. You need an additional package containing the main executable. The available packages are:
exim4-daemon-light exim4-daemon-heavy
If you build exim4 from the source package locally, you can also build an exim4-daemon-custom package tailored to your own feature set.
The Debian exim4 packages have their own web page, http://wiki.debian.org/PkgExim4. There is also a Debian-specific FAQ list. Information about the way the Debian packages are configured can be found in /usr/share/doc/exim4-base/README.Debian.gz, which additionally contains information about the way the Debian binary packages are built. The very extensive upstream documentation is shipped in /usr/share/doc/exim4-base/spec.txt.gz. To repeat the debconf-driven configuration process in a standard setup, invoke dpkg-reconfigure exim4-config. There is a Debian-centered mailing list, [email protected]. Please ask Debian-specific questions there, and only write to the upstream exim-users mailing list if you are sure that your question is not Debian-specific. You can find the subscription web page on http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
Package: exim4-base Architecture: amd64 Version: 4.93-13ubuntu1 Priority: extra Section: mail Source: exim4 Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Exim4 Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 1702 Depends: adduser, cron | cron-daemon | anacron | systemd-sysv, exim4-config (>= 4.82) | exim4-config-2, lsb-base (>= 3.0-6), netbase, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.14), libdb5.3 Recommends: mailx, psmisc Suggests: exim4-doc-html | exim4-doc-info, eximon4, file, gnutls-bin | openssl, mail-reader, spf-tools-perl, swaks Conflicts: exim, exim-tls Breaks: exim4-daemon-custom (« 4.93), exim4-daemon-heavy (« 4.93), exim4-daemon-light (« 4.93) Replaces: exim, exim-tls, exim4-daemon-custom, exim4-daemon-heavy, exim4-daemon-light Filename: pool/main/e/exim4/exim4-base_4.93-13ubuntu1_amd64.deb Size: 922564 MD5sum: 91d6d9c00356235c5d09df30a7a529ee SHA1: ea14aa38f0d3ee453375ddda372635787eedc7bf SHA256: cca64abe57aac45eb9b5e9f187ed7c7b21872b546986c914dd7a3e9f6f18928e Homepage: https://www.exim.org/ Description-en: support files for all Exim MTA (v4) packages Exim (v4) is a mail transport agent. exim4-base provides the support files needed by all exim4 daemon packages. You need an additional package containing the main executable. The available packages are:
exim4-daemon-light exim4-daemon-heavy
If you build exim4 from the source package locally, you can also build an exim4-daemon-custom package tailored to your own feature set.
The Debian exim4 packages have their own web page, http://wiki.debian.org/PkgExim4. There is also a Debian-specific FAQ list. Information about the way the Debian packages are configured can be found in /usr/share/doc/exim4-base/README.Debian.gz, which additionally contains information about the way the Debian binary packages are built. The very extensive upstream documentation is shipped in /usr/share/doc/exim4-base/spec.txt.gz. To repeat the debconf-driven configuration process in a standard setup, invoke dpkg-reconfigure exim4-config. There is a Debian-centered mailing list, [email protected]. Please ask Debian-specific questions there, and only write to the upstream exim-users mailing list if you are sure that your question is not Debian-specific. You can find the subscription web page on http://lists.alioth.debian.org/mailman/listinfo/pkg-exim4-users
There are three methods to install exim4-base
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install exim4-base Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install exim4-base
using apt-get
by running the following command:
sudo apt-get -y install exim4-base
Install exim4-base Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install exim4-base
using apt
by running the following command:
sudo apt -y install exim4-base
Install exim4-base Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install exim4-base
using aptitude
by running the following command:
sudo aptitude -y install exim4-base
How To Uninstall exim4-base on Ubuntu 20.04
To uninstall only the exim4-base
package we can use the following command:
sudo apt-get remove exim4-base
Uninstall exim4-base And Its Dependencies
To uninstall exim4-base
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove exim4-base
Remove exim4-base Configurations and Data
To remove exim4-base
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge exim4-base
Remove exim4-base configuration, data, and all of its dependencies
We can use the following command to remove exim4-base
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge exim4-base
References
Summary
In this tutorial we learn how to install exim4-base
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.