biosdecode command not found

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

Introduction

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

biosdecode: command not found

or when using sudo you get the following error message

sudo: biosdecode: command not found

Solutions to biosdecode: command not found

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

In Ubuntu biosdecode is provided by dmidecode package.

dmidecode is:

Dmidecode reports information about the system’s hardware as described in the system BIOS according to the SMBIOS/DMI standard.

This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).

Beware that DMI data have proven to be too unreliable to be blindly trusted. Dmidecode does not scan the hardware, it only reports what the BIOS told it to.

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

sudo apt-get -y install dmidecode

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

You can also use apt command to install dmidecode.

sudo apt -y install dmidecode

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

sudo aptitude install dmidecode

Summary

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