How To Install libdebug0 on Debian 9

In this tutorial we learn how to install libdebug0 on Debian 9. libdebug0 is Memory leak detection system and logging library

Introduction

In this tutorial we learn how to install libdebug0 on Debian 9.

What is libdebug0

libdebug0 is:

This library contains routines needed by many of the authors other programs. It includes utilities to aid in debugging of programs.

Some of the features currently supported by this library are memory leak detection, hex dumping, and logging. The logging system is especially useful. It adds syntax highlighting for different log levels in debugging mode. There are different modes for printing to console and files, duplicate line detection and lots of other small things which makes life simpler for the programmer.

This package contains files needed by programs linked against this library.

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

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

sudo apt-get update

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

sudo apt-get -y install libdebug0

Install libdebug0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdebug0

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

sudo aptitude -y install libdebug0

How To Uninstall libdebug0 on Debian 9

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

sudo apt-get remove libdebug0

Uninstall libdebug0 And Its Dependencies

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

sudo apt-get -y autoremove libdebug0

Remove libdebug0 Configurations and Data

To remove libdebug0 configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libdebug0

Remove libdebug0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdebug0

Dependencies

libdebug0 have the following dependencies:

References

Summary

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