asn1Coding command not found

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

Introduction

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

asn1Coding: command not found

or when using sudo you get the following error message

sudo: asn1Coding: command not found

Solutions to asn1Coding: command not found

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

In Ubuntu asn1Coding is provided by libtasn1-bin package.

libtasn1-bin is:

Manage ASN1 (Abstract Syntax Notation One) structures. The main features of this library are:

  • on-line ASN1 structure management that doesn’t require any C code file generation.
  • off-line ASN1 structure management with C code file generation containing an array.
  • DER (Distinguish Encoding Rules) encoding
  • no limits for INTEGER and ENUMERATED values

This package contains programs to encode, decode and parse asn1 data structures.

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

sudo apt-get -y install libtasn1-bin

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

You can also use apt command to install libtasn1-bin.

sudo apt -y install libtasn1-bin

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

sudo aptitude install libtasn1-bin

Summary

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