How To Install dms on Ubuntu 20.04
Introduction
In this tutorial we learn how to install dms
on Ubuntu 20.04.
What is dms
dms is:
This is the bind9 DNS Management System, the master server meta-package.
This package installs all the components needed for a DMS master server/DR replica pair.
For setup, see the README.Debian in /usr/share/doc/dms-core.
There are three methods to install dms
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 dms Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install dms
using apt-get
by running the following command:
sudo apt-get -y install dms
Install dms Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dms
using apt
by running the following command:
sudo apt -y install dms
Install dms 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 dms
using aptitude
by running the following command:
sudo aptitude -y install dms
How To Uninstall dms on Ubuntu 20.04
To uninstall only the dms
package we can use the following command:
sudo apt-get remove dms
Uninstall dms And Its Dependencies
To uninstall dms
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove dms
Remove dms Configurations and Data
To remove dms
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge dms
Remove dms configuration, data, and all of its dependencies
We can use the following command to remove dms
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dms
References
Summary
In this tutorial we learn how to install dms
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.