download-mibs command not found

In this troubleshooting guide we learn how to fix download-mibs command not found error message

Introduction

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

download-mibs: command not found

or when using sudo you get the following error message

sudo: download-mibs: command not found

Solutions to download-mibs: command not found

How To Fix download-mibs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu download-mibs is provided by snmp-mibs-downloader package.

snmp-mibs-downloader is:

This package ships the IETF RFCs containing MIB files and a script which extracts them to be used by Simple Network Management libraries. The script can be used to update some MIBs to the latest version or to download extra vendor MIBs.

These MIBs can be useful for programs like wireshark or snmpget to enable them to translating the received information into human readable text.

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

sudo apt-get -y install snmp-mibs-downloader

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

You can also use apt command to install snmp-mibs-downloader.

sudo apt -y install snmp-mibs-downloader

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

sudo aptitude install snmp-mibs-downloader

Summary

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