osmo-mgw command not found

In this troubleshooting guide we learn how to fix osmo-mgw command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

osmo-mgw: command not found

or when using sudo you get the following error message

sudo: osmo-mgw: command not found

Solutions to osmo-mgw: command not found

How To Fix osmo-mgw: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu osmo-mgw is provided by osmo-mgw package.

osmo-mgw is:

OsmoMGW, the Osmocom Media Gateway, is a Media Gateway for handling user plane (voice) traffic in cellular networks.

OsmoMGW supports the IETF MGCP (Media Gateway Control Protocol) for control from Call Agents, such as those present in OsmoBSC and OsmoMSC.

At the moment (October 2017), OsmoMGW only implements RTP proxy / RTP bridge type endpoints, to each of which two RTP connections can be established.

OsmoMGW is the generalized version of an earlier much more special-purpose implementation called osmo-bsc_mgcp.

To fix this problem, we can install more using the command below.

sudo apt-get -y install osmo-mgw

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install osmo-mgw.

sudo apt -y install osmo-mgw

Or if you have aptitude installed you can use the following command.

sudo aptitude install osmo-mgw

Summary

In this tutorial we learn how to fix osmo-mgw command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.