berdecode command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
berdecode: command not found
or when using sudo you get the following error message
sudo: berdecode: command not found
Solutions to berdecode: command not found
How To Fix berdecode: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu berdecode is provided by snacc package.
snacc is:
Snacc is short for “Sample Neufeld ASN.1 to C Compiler” and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). Snacc supports a subset of ASN.1 1988. If you need features of ASN.1 1992 or later, snacc is not for you.
Given an ASN.1 source file(s) snacc can produce:
- C routines for BER encoding, decoding, printing and freeing.
- C++ routines for BER encoding, decoding, and printing.
- A type table that can be used with C driver routines for BER encoding, decoding, printing and freeing.
If you want to build snacc based applications, you want to install the libsnacc-dev package, too. Your application will then depend on the snacc libraries, you find in the libsnacc0c2 package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install snacc
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install snacc.
sudo apt -y install snacc
Or if you have aptitude installed you can use the following command.
sudo aptitude install snacc
Summary
In this tutorial we learn how to fix berdecode command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.