osmo-auc-gen command not found

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

Introduction

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

osmo-auc-gen: command not found

or when using sudo you get the following error message

sudo: osmo-auc-gen: command not found

Solutions to osmo-auc-gen: command not found

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

In Ubuntu osmo-auc-gen is provided by libosmocore-utils package.

libosmocore-utils is:

This package contains a program for frequency calculation for GSM called ‘osmo-arfcn’ and a program called ‘osmo-auc-gen’ that is used for testing GSM authentication.

They use the libosmocore library. The libosmocore library contain various utility functions that were originally developed as part of the OpenBSC project, but which are of a more generic nature and thus useful to (at least) other programs that are developed in the sphere of Free Software / Open Source mobile communication.

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

sudo apt-get -y install libosmocore-utils

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

You can also use apt command to install libosmocore-utils.

sudo apt -y install libosmocore-utils

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

sudo aptitude install libosmocore-utils

Summary

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