icebox_explain command not found

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

Introduction

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

icebox_explain: command not found

or when using sudo you get the following error message

sudo: icebox_explain: command not found

Solutions to icebox_explain: command not found

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

In Ubuntu icebox_explain is provided by fpga-icestorm package.

fpga-icestorm is:

Project IceStorm aims at documenting the bitstream format of Lattice iCE40 FPGAs and providing simple tools for analyzing and creating bitstream files.

The focus of the project is on the iCE40 LP/HX 1K/4K/8K chips. The iCE40 UltraPlus parts are also supported, including DSPs, oscillators, RGB and SPRAM. iCE40 LM, Ultra and UltraLite parts are not yet supported.

This package contains multiple tools needed to handle the bitstream.

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

sudo apt-get -y install fpga-icestorm

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

You can also use apt command to install fpga-icestorm.

sudo apt -y install fpga-icestorm

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

sudo aptitude install fpga-icestorm

Summary

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