decode-dimms command not found

In this troubleshooting guide we learn how to fix decode-dimms command not found error message

Introduction

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

decode-dimms: command not found

or when using sudo you get the following error message

sudo: decode-dimms: command not found

Solutions to decode-dimms: command not found

How To Fix decode-dimms: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu decode-dimms is provided by i2c-tools package.

i2c-tools is:

This package contains a heterogeneous set of I2C tools for Linux: a bus probing tool, a chip dumper, register-level access helpers, EEPROM decoding scripts, and more.

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

sudo apt-get -y install i2c-tools

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

You can also use apt command to install i2c-tools.

sudo apt -y install i2c-tools

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

sudo aptitude install i2c-tools

Summary

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