How To Install d-shlibs on Debian 9

In this tutorial we learn how to install d-shlibs on Debian 9. d-shlibs is Debian shared library package building helper scripts

Introduction

In this tutorial we learn how to install d-shlibs on Debian 9.

What is d-shlibs

d-shlibs is:

Shared library packages in Debian need some special catering to do with regards to which files go where. This package contains programs which try to help automate the process and catch simple errors

“d-shlibmove” moves the shared library binary around from temporary installation directory to the destination package directory.

“d-devlibdeps” tries to list the development library dependencies required for using the -dev package.

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

Install d-shlibs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install d-shlibs

Install d-shlibs Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install d-shlibs

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

sudo aptitude -y install d-shlibs

How To Uninstall d-shlibs on Debian 9

To uninstall only the d-shlibs package we can use the following command:

sudo apt-get remove d-shlibs

Uninstall d-shlibs And Its Dependencies

To uninstall d-shlibs and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove d-shlibs

Remove d-shlibs Configurations and Data

To remove d-shlibs configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge d-shlibs

Remove d-shlibs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge d-shlibs

Dependencies

d-shlibs have the following dependencies:

References

Summary

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