How To Install nextepc-pgw on Debian 10

Learn how to install nextepc-pgw on Debian 10 with this tutorial. nextepc-pgw is Evolved Packet Core - Packet Data Network Gateway (PDN-GW)

Introduction

In this tutorial we learn how to install nextepc-pgw on Debian 10.

What is nextepc-pgw

nextepc-pgw is:

NextEPC is a C-language Open Source implementation of the 3GPP Evolved Packet Core, i.e. the core network of an LTE network.

This package provides the PGW or PDN-GW (Packet Data Network Gateway) element of the EPC, i.e. the gateway between the EPC and the external packet data network, such as the public Internet. It implements the S5 interface towards the S-GW, the SGi interface towards the Internet, and the S7 interface towards the PCRF.

There are three methods to install nextepc-pgw on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install nextepc-pgw Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install nextepc-pgw using apt-get by running the following command:

sudo apt-get -y install nextepc-pgw

Install nextepc-pgw Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install nextepc-pgw using apt by running the following command:

sudo apt -y install nextepc-pgw

Install nextepc-pgw 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 nextepc-pgw using aptitude by running the following command:

sudo aptitude -y install nextepc-pgw

How To Uninstall nextepc-pgw on Debian 10

To uninstall only the nextepc-pgw package we can use the following command:

sudo apt-get remove nextepc-pgw

Uninstall nextepc-pgw And Its Dependencies

To uninstall nextepc-pgw and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove nextepc-pgw

Remove nextepc-pgw Configurations and Data

To remove nextepc-pgw configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge nextepc-pgw

Remove nextepc-pgw configuration, data, and all of its dependencies

We can use the following command to remove nextepc-pgw configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge nextepc-pgw

Dependencies

nextepc-pgw have the following dependencies:

References

Summary

In this tutorial we learn how to install nextepc-pgw package on Debian 10 using different package management tools: apt, apt-get and aptitude.