dumpasn1 command not found

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

Introduction

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

dumpasn1: command not found

or when using sudo you get the following error message

sudo: dumpasn1: command not found

Solutions to dumpasn1: command not found

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

In Ubuntu dumpasn1 is provided by dumpasn1 package.

dumpasn1 is:

An ASN.1 object dump program which will dump data encoded using any of the ASN.1 encoding rules in a variety of user-specified formats.

dumpasn1 employs a user-editable configuration file dumpasn1.cfg which provides information on ASN.1 object identifiers. Currently it covers all known security-related OIDs.

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

sudo apt-get -y install dumpasn1

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

You can also use apt command to install dumpasn1.

sudo apt -y install dumpasn1

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

sudo aptitude install dumpasn1

Summary

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