How To Install osmo-msc on Debian 11
Introduction
In this tutorial we learn how to install osmo-msc
on Debian 11.
What is osmo-msc
osmo-msc is:
The Mobile Switching Center (MSC) is the heart of 2G/3G circuit-switched services. It terminates the A-interface links from the Base Station Controllers (BSC) and handles the MM and CC sub-layers of the Layer 3 protocol from the phones (MS).
This Osmocom implementation of the MSC handles A interfaces via 3GPP AoIP in an ASP role. It furthermore implements IETF MGCP against an external media gateway, such as OsmoMGW. It does not implement MAP towards a HLR, but the much simpler Osmocom GSUP protocol, which can be translated to MAP if needed.
There are three methods to install osmo-msc
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-msc 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-msc
using apt-get
by running the following command:
sudo apt-get -y install osmo-msc
Install osmo-msc Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install osmo-msc
using apt
by running the following command:
sudo apt -y install osmo-msc
Install osmo-msc 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-msc
using aptitude
by running the following command:
sudo aptitude -y install osmo-msc
How To Uninstall osmo-msc on Debian 11
To uninstall only the osmo-msc
package we can use the following command:
sudo apt-get remove osmo-msc
Uninstall osmo-msc And Its Dependencies
To uninstall osmo-msc
and its dependencies that are no longer needed by Debian 11, we can use the command below:
sudo apt-get -y autoremove osmo-msc
Remove osmo-msc Configurations and Data
To remove osmo-msc
configuration and data from Debian 11 we can use the following command:
sudo apt-get -y purge osmo-msc
Remove osmo-msc configuration, data, and all of its dependencies
We can use the following command to remove osmo-msc
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge osmo-msc
Dependencies
osmo-msc have the following dependencies:
- libc6
- libdbi1
- libosmo-gsup-client0
- libosmo-mgcp-client6
- libosmo-ranap3
- libosmo-sigtran5
- libosmocore16
- libosmoctrl0
- libosmogsm15
- libosmonetif8
- libosmovty4
- libsctp1
- libsmpp34-1
- libtalloc2
- osmo-libasn1c1
References
Summary
In this tutorial we learn how to install osmo-msc
package on Debian 11 using different package management tools: apt
, apt-get
and aptitude
.