You may get this error when updating the boot image:
The program 'abootimg' is currently not installed.
Fix this by installing abootimg:
sudo apt-get install abootimg
You may get this error when checking fastboot:
sudo: fastboot: command not found
You can fix this by installing the android tools:
sudo apt-get install android-tools-adb android-tools-fastboot