nxt-update-firmware command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nxt-update-firmware: command not found
or when using sudo you get the following error message
sudo: nxt-update-firmware: command not found
Solutions to nxt-update-firmware: command not found
How To Fix nxt-update-firmware: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nxt-update-firmware is provided by nxt-firmware package.
nxt-firmware is:
The NXT Improved Firmware is a community-based open source project around the original LEGO Mindstorms firmware for the NXT bricks.
The firmware can be installed on the robot control bricks of type NXT. It is almost identical to the original firmware, meaning that all existing software working with the original firmware can be expected to work with the improved firmware as well.
The main differences between the original firmware and the improved firmware are the addition of absolute position regulation for motors and that it can be built with GCC rather than the non-free toolchain used by the LEGO Group.
This package contains the firmware image file, which can be flashed onto the brick with various tools, e.g. fwflash from the libnxt package.
To fix this problem, we can install more using the command below.
sudo apt-get -y install nxt-firmware
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install nxt-firmware.
sudo apt -y install nxt-firmware
Or if you have aptitude installed you can use the following command.
sudo aptitude install nxt-firmware
Summary
In this tutorial we learn how to fix nxt-update-firmware command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.