unber command not found

In this troubleshooting guide we learn how to fix unber command not found error message

Introduction

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

unber: command not found

or when using sudo you get the following error message

sudo: unber: command not found

Solutions to unber: command not found

How To Fix unber: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu unber is provided by asn1c package.

asn1c is:

This ASN.1 compiler turns the formal ASN.1 specifications into the C code. The compiler is shipped together with conformant BER/DER/XER codecs. The X.509 and GSM TAP3 decoding examples are shipped as well.

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

sudo apt-get -y install asn1c

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

You can also use apt command to install asn1c.

sudo apt -y install asn1c

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

sudo aptitude install asn1c

Summary

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