pb-api-shell command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pb-api-shell: command not found
or when using sudo you get the following error message
sudo: pb-api-shell: command not found
Solutions to pb-api-shell: command not found
How To Fix pb-api-shell: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pb-api-shell is provided by profitbricks-api-tools package.
profitbricks-api-tools is:
This package contains command line tools that use the public API from ProfitBricks. It contains following scripts:
- pb-api-shell - Interactive Python shell for the ProfitBricks REST API
To fix this problem, we can install more using the command below.
sudo apt-get -y install profitbricks-api-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install profitbricks-api-tools.
sudo apt -y install profitbricks-api-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install profitbricks-api-tools
Summary
In this tutorial we learn how to fix pb-api-shell command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.