restclient command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
restclient: command not found
or when using sudo you get the following error message
sudo: restclient: command not found
Solutions to restclient: command not found
How To Fix restclient: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu restclient is provided by ruby-rest-client package.
ruby-rest-client is:
A simple HTTP and REST client for Ruby, inspired by the Sinatra microframework style of specifying actions: get, put, post, delete. The package also includes the program restclient, it can be used to easily test REST APIs.
To fix this problem, we can install more using the command below.
sudo apt-get -y install ruby-rest-client
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install ruby-rest-client.
sudo apt -y install ruby-rest-client
Or if you have aptitude installed you can use the following command.
sudo aptitude install ruby-rest-client
Summary
In this tutorial we learn how to fix restclient command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.