How To Install mail-stack-delivery on Ubuntu 20.04
Introduction
In this tutorial we learn how to install mail-stack-delivery
on Ubuntu 20.04.
What is mail-stack-delivery
mail-stack-delivery is:
This is a transitional package. It can safely be removed.
If you had formerly set up dovecot via mail-stack-delivery this package will still have the configuration /etc/dovecot/conf.d/99-mail-stack-delivery.conf associated to it which will be removed if you purge the package.
Package: mail-stack-delivery Architecture: all Version: 1:2.3.7.2-1ubuntu3 Priority: optional Section: universe/mail Source: dovecot Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Dovecot Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 54 Depends: dovecot-core Filename: pool/universe/d/dovecot/mail-stack-delivery_2.3.7.2-1ubuntu3_all.deb Size: 4948 MD5sum: 2299dd31f13a06751c7ed28378c17331 SHA1: cdd02ee836575eba9ade97bbd5bdfbd5d79e413a SHA256: a21fb0acf59bc7a91d5df0aaea5fcc6b80cf6e7cc9a4a922bdc4df425fde0beb Homepage: http://dovecot.org/ Description-en: transitional package This is a transitional package. It can safely be removed.
If you had formerly set up dovecot via mail-stack-delivery this package will still have the configuration /etc/dovecot/conf.d/99-mail-stack-delivery.conf associated to it which will be removed if you purge the package.
There are three methods to install mail-stack-delivery
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 mail-stack-delivery Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install mail-stack-delivery
using apt-get
by running the following command:
sudo apt-get -y install mail-stack-delivery
Install mail-stack-delivery Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install mail-stack-delivery
using apt
by running the following command:
sudo apt -y install mail-stack-delivery
Install mail-stack-delivery 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 mail-stack-delivery
using aptitude
by running the following command:
sudo aptitude -y install mail-stack-delivery
How To Uninstall mail-stack-delivery on Ubuntu 20.04
To uninstall only the mail-stack-delivery
package we can use the following command:
sudo apt-get remove mail-stack-delivery
Uninstall mail-stack-delivery And Its Dependencies
To uninstall mail-stack-delivery
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove mail-stack-delivery
Remove mail-stack-delivery Configurations and Data
To remove mail-stack-delivery
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge mail-stack-delivery
Remove mail-stack-delivery configuration, data, and all of its dependencies
We can use the following command to remove mail-stack-delivery
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mail-stack-delivery
References
Summary
In this tutorial we learn how to install mail-stack-delivery
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.