How To Install coinst on Debian 11

In this tutorial we learn how to install coinst on Debian 11. coinst is computes the co-installability kernel of a deb or RPM repository

Introduction

In this tutorial we learn how to install coinst on Debian 11.

What is coinst

coinst is:

This package is useful when you are interested in analyzing co-installability of packages in a large package repository. A set of packages is called co-installable if it can be extended to a set that satisfies all inter-package relations (dependencies, conflicts, etc.).

This tool reduces a repository to a much smaller one, its so-called co-installability kernel, that behaves exactly the same as far as co-installability of package is concerned. This is achieved by

  • dropping all relations that are not relevant for this purpose
  • identifying all packages that behave the same. The kernel is typically orders of magnitude smaller than the original repository.

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

Install coinst Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install coinst

Install coinst Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install coinst

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

sudo aptitude -y install coinst

How To Uninstall coinst on Debian 11

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

sudo apt-get remove coinst

Uninstall coinst And Its Dependencies

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

sudo apt-get -y autoremove coinst

Remove coinst Configurations and Data

To remove coinst configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge coinst

Remove coinst configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge coinst

Dependencies

coinst have the following dependencies:

References

Summary

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