esnacc command not found

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

Introduction

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

esnacc: command not found

or when using sudo you get the following error message

sudo: esnacc: command not found

Solutions to esnacc: command not found

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

In Ubuntu esnacc is provided by esnacc package.

esnacc is:

esnacc is short for “Enhanced Sample Neufeld ASN.1 to C Compiler” and ASN.1 stands for Abstract Syntax Notation One (ITU-T X.208/ISO 8824). esnacc supports a subset of ASN.1 1988.

Given an ASN.1 source file(s) esnacc can produce:

  1. C routines for BER encoding, decoding, printing and freeing.
  2. C++ routines for BER encoding, decoding, and printing.
  3. A type table that can be used with C driver routines for BER encoding, decoding, printing and freeing.

If you want to build esnacc based applications, you want to install the libesnacc-dev package, too. Your application will then depend on the esnacc libraries, you find in the libesnacc180 package.

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

sudo apt-get -y install esnacc

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

You can also use apt command to install esnacc.

sudo apt -y install esnacc

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

sudo aptitude install esnacc

Summary

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