How To Install osmo-hlr on Debian 12
Introduction
In this tutorial we learn how to install osmo-hlr
on Debian 12.
What is osmo-hlr
osmo-hlr is:
OsmoHLR is a Osmocom implementation of HLR (Home Location Registrar) which works over GSUP protocol. The subscribers are store in sqlite DB. It supports both 2G and 3G authentication.
There are three methods to install osmo-hlr
on Debian 12. 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-hlr 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-hlr
using apt-get
by running the following command:
sudo apt-get -y install osmo-hlr
Install osmo-hlr Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install osmo-hlr
using apt
by running the following command:
sudo apt -y install osmo-hlr
Install osmo-hlr 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-hlr
using aptitude
by running the following command:
sudo aptitude -y install osmo-hlr
How To Uninstall osmo-hlr on Debian 12
To uninstall only the osmo-hlr
package we can use the following command:
sudo apt-get remove osmo-hlr
Uninstall osmo-hlr And Its Dependencies
To uninstall osmo-hlr
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove osmo-hlr
Remove osmo-hlr Configurations and Data
To remove osmo-hlr
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge osmo-hlr
Remove osmo-hlr configuration, data, and all of its dependencies
We can use the following command to remove osmo-hlr
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge osmo-hlr
Dependencies
osmo-hlr have the following dependencies:
- libc6
- libosmo-gsup-client0
- libosmo-mslookup0
- libosmoabis10
- libosmocore19
- libosmoctrl0
- libosmogsm18
- libosmovty9
- libsqlite3-0
- libtalloc2
- libdbd-sqlite3
References
Summary
In this tutorial we learn how to install osmo-hlr
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.