How To Install osmo-sgsn on Debian 11
Introduction
In this tutorial we learn how to install osmo-sgsn
on Debian 11.
What is osmo-sgsn
osmo-sgsn is:
For setting up a 2G network with data network support, this package is needed
The SGSN implements
- the Gb interface to the BSS’s (like the OsmoPCU or an ip.access nanoBTS)
- the Gp interface with its GTP protocol to one or more Gateway GPRS Support Node (GGSN) like OsmoGGSN.
- the IuPS interface with its RANAP protocol to onre or more RNCs or HNB-GWs like OsmoHNBGW
- the GSUP Interface/Protocol towards OsmoHLR
There are three methods to install osmo-sgsn
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 osmo-sgsn Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install osmo-sgsn
using apt-get
by running the following command:
sudo apt-get -y install osmo-sgsn
Install osmo-sgsn Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install osmo-sgsn
using apt
by running the following command:
sudo apt -y install osmo-sgsn
Install osmo-sgsn 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 osmo-sgsn
using aptitude
by running the following command:
sudo aptitude -y install osmo-sgsn
How To Uninstall osmo-sgsn on Debian 11
To uninstall only the osmo-sgsn
package we can use the following command:
sudo apt-get remove osmo-sgsn
Uninstall osmo-sgsn And Its Dependencies
To uninstall osmo-sgsn
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove osmo-sgsn
Remove osmo-sgsn Configurations and Data
To remove osmo-sgsn
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge osmo-sgsn
Remove osmo-sgsn configuration, data, and all of its dependencies
We can use the following command to remove osmo-sgsn
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge osmo-sgsn
Dependencies
osmo-sgsn have the following dependencies:
- libc-ares2
- libc6
- libgtp6
- libosmo-gsup-client0
- libosmo-ranap3
- libosmo-sigtran5
- libosmocore16
- libosmoctrl0
- libosmogb11
- libosmogsm15
- libosmovty4
- libtalloc2
References
Summary
In this tutorial we learn how to install osmo-sgsn
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.