How To Install deets on Ubuntu 20.04

In this tutorial we learn how to install deets on Ubuntu 20.04. deets is decentralized model-based administration tool

Introduction

In this tutorial we learn how to install deets on Ubuntu 20.04.

What is deets

deets is:

Deets provides a way to manage Debian packages and files on your systems using Lua-based configuration files. A specialized Lua interpreter called luau is capable of validating your specifications and optionally enforcing them.

In addition, it can scan your system and generate a crude model configuration based on the current state of the Debian package database and all conffiles.

There are three methods to install deets 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 deets Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install deets using apt-get by running the following command:

sudo apt-get -y install deets

Install deets Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install deets using apt by running the following command:

sudo apt -y install deets

Install deets 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 deets using aptitude by running the following command:

sudo aptitude -y install deets

How To Uninstall deets on Ubuntu 20.04

To uninstall only the deets package we can use the following command:

sudo apt-get remove deets

Uninstall deets And Its Dependencies

To uninstall deets and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove deets

Remove deets Configurations and Data

To remove deets configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge deets

Remove deets configuration, data, and all of its dependencies

We can use the following command to remove deets configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge deets

References

Summary

In this tutorial we learn how to install deets package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.