fab command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
fab: command not found
or when using sudo you get the following error message
sudo: fab: command not found
Solutions to fab: command not found
How To Fix fab: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu fab is provided by fabric package.
fabric is:
Fabric is designed to upload files and run shell commands on a number of servers in parallel or serially. These commands are grouped in tasks (which are regular Python functions) and specified in a ‘fabfile.’
It is similar to Capistrano, except it’s implemented in Python and doesn’t expect you to be deploying Rails applications.
This package contains the binary executable and the documentation.
To fix this problem, we can install more using the command below.
sudo apt-get -y install fabric
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install fabric.
sudo apt -y install fabric
Or if you have aptitude installed you can use the following command.
sudo aptitude install fabric
Summary
In this tutorial we learn how to fix fab command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.