How To Install libosmo-netif-dbg on Debian 9

In this tutorial we learn how to install libosmo-netif-dbg on Debian 9. libosmo-netif-dbg is Debug symbols for Osmocom network interface library

Introduction

In this tutorial we learn how to install libosmo-netif-dbg on Debian 9.

What is libosmo-netif-dbg

libosmo-netif-dbg is:

The libosmo-netif library is one of the libraries needed by the OpenBSC GSM infrastructure software. This library in particular implements the shared code for network interfaces.

This package contains the debug symbols for the library.

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

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

sudo apt-get update

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

sudo apt-get -y install libosmo-netif-dbg

Install libosmo-netif-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libosmo-netif-dbg using apt by running the following command:

sudo apt -y install libosmo-netif-dbg

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

sudo aptitude -y install libosmo-netif-dbg

How To Uninstall libosmo-netif-dbg on Debian 9

To uninstall only the libosmo-netif-dbg package we can use the following command:

sudo apt-get remove libosmo-netif-dbg

Uninstall libosmo-netif-dbg And Its Dependencies

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

sudo apt-get -y autoremove libosmo-netif-dbg

Remove libosmo-netif-dbg Configurations and Data

To remove libosmo-netif-dbg configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libosmo-netif-dbg

Remove libosmo-netif-dbg configuration, data, and all of its dependencies

We can use the following command to remove libosmo-netif-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libosmo-netif-dbg

Dependencies

libosmo-netif-dbg have the following dependencies:

References

Summary

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