How To Install libpromises3 on Debian 10

Learn how to install libpromises3 on Debian 10 with this tutorial. libpromises3 is libpromises library for cfengine3 binaries

Introduction

In this tutorial we learn how to install libpromises3 on Debian 10.

What is libpromises3

libpromises3 is:

The main purpose of cfengine is to allow the system administrator to create a single central file which will define how every host on a network should be configured.

This package contains the libpromises3 library.

There are three methods to install libpromises3 on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libpromises3 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libpromises3

Install libpromises3 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpromises3

Install libpromises3 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libpromises3

How To Uninstall libpromises3 on Debian 10

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

sudo apt-get remove libpromises3

Uninstall libpromises3 And Its Dependencies

To uninstall libpromises3 and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libpromises3

Remove libpromises3 Configurations and Data

To remove libpromises3 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libpromises3

Remove libpromises3 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpromises3

Dependencies

libpromises3 have the following dependencies:

References

Summary

In this tutorial we learn how to install libpromises3 package on Debian 10 using different package management tools: apt, apt-get and aptitude.