How To Install libosmo-gsup-client-dev on Ubuntu 22.04

In this tutorial we learn how to install libosmo-gsup-client-dev on Ubuntu 22.04. libosmo-gsup-client-dev is Development headers of Osmocom GSUP client library

Introduction

In this tutorial we learn how to install libosmo-gsup-client-dev on Ubuntu 22.04.

What is libosmo-gsup-client-dev

libosmo-gsup-client-dev is:

This is a shared library that can be used to implement client programs for the GSUP protocol. The typical GSUP server is OsmoHLR, with OsmoMSC, OsmoSGSN and External USSD Entities (EUSEs) using this library to implement clients.

This package contains the development headers.

There are three methods to install libosmo-gsup-client-dev on Ubuntu 22.04. 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-gsup-client-dev 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-gsup-client-dev using apt-get by running the following command:

sudo apt-get -y install libosmo-gsup-client-dev

Install libosmo-gsup-client-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libosmo-gsup-client-dev using apt by running the following command:

sudo apt -y install libosmo-gsup-client-dev

Install libosmo-gsup-client-dev 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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libosmo-gsup-client-dev using aptitude by running the following command:

sudo aptitude -y install libosmo-gsup-client-dev

How To Uninstall libosmo-gsup-client-dev on Ubuntu 22.04

To uninstall only the libosmo-gsup-client-dev package we can use the following command:

sudo apt-get remove libosmo-gsup-client-dev

Uninstall libosmo-gsup-client-dev And Its Dependencies

To uninstall libosmo-gsup-client-dev and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove libosmo-gsup-client-dev

Remove libosmo-gsup-client-dev Configurations and Data

To remove libosmo-gsup-client-dev configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge libosmo-gsup-client-dev

Remove libosmo-gsup-client-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libosmo-gsup-client-dev

References

Summary

In this tutorial we learn how to install libosmo-gsup-client-dev package on Ubuntu 22.04 using different package management tools: apt, apt-get and aptitude.