How To Install osmo-bsc-mgcp on Ubuntu 20.04
Introduction
In this tutorial we learn how to install osmo-bsc-mgcp
on Ubuntu 20.04.
What is osmo-bsc-mgcp
osmo-bsc-mgcp is:
OsmoMGW, the Osmocom Media Gateway, is a Media Gateway for handling user plane (voice) traffic in cellular networks.
OsmoMGW is the generalized version of an earlier much more special-purpose implementation called osmo-bsc_mgcp.
This package contains deprecated software, please use osmo-mgw instead.
There are three methods to install osmo-bsc-mgcp
on Ubuntu 20.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 osmo-bsc-mgcp 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-bsc-mgcp
using apt-get
by running the following command:
sudo apt-get -y install osmo-bsc-mgcp
Install osmo-bsc-mgcp Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install osmo-bsc-mgcp
using apt
by running the following command:
sudo apt -y install osmo-bsc-mgcp
Install osmo-bsc-mgcp 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 osmo-bsc-mgcp
using aptitude
by running the following command:
sudo aptitude -y install osmo-bsc-mgcp
How To Uninstall osmo-bsc-mgcp on Ubuntu 20.04
To uninstall only the osmo-bsc-mgcp
package we can use the following command:
sudo apt-get remove osmo-bsc-mgcp
Uninstall osmo-bsc-mgcp And Its Dependencies
To uninstall osmo-bsc-mgcp
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove osmo-bsc-mgcp
Remove osmo-bsc-mgcp Configurations and Data
To remove osmo-bsc-mgcp
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge osmo-bsc-mgcp
Remove osmo-bsc-mgcp configuration, data, and all of its dependencies
We can use the following command to remove osmo-bsc-mgcp
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge osmo-bsc-mgcp
References
Summary
In this tutorial we learn how to install osmo-bsc-mgcp
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.