nextpnr-ice40 command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nextpnr-ice40: command not found
or when using sudo you get the following error message
sudo: nextpnr-ice40: command not found
Solutions to nextpnr-ice40: command not found
How To Fix nextpnr-ice40: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nextpnr-ice40 is provided by nextpnr-ice40 package.
nextpnr-ice40 is:
nextpnr aims to be a vendor neutral, timing driven, FOSS FPGA place and route tool.
nextpnr-ice40 is to be used for Lattice iCE40 FPGAs and uses fpga-icestorm to achieve that.
This package can perform place-and-route for Lattice iCE40 devices and contains only the command-line functionality. For the QT GUI, see nextpnr-ice40-qt.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nextpnr-ice40
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nextpnr-ice40.
sudo apt -y install nextpnr-ice40
Or if you have aptitude installed you can use the following command.
sudo aptitude install nextpnr-ice40
Summary
In this tutorial we learn how to fix nextpnr-ice40 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.