asn1c command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
asn1c: command not found
or when using sudo you get the following error message
sudo: asn1c: command not found
Solutions to asn1c: command not found
How To Fix asn1c: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu asn1c 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 asn1c command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.