scrot command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
scrot: command not found
or when using sudo you get the following error message
sudo: scrot: command not found
Solutions to scrot: command not found
How To Fix scrot: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu scrot is provided by scrot package.
scrot is:
scrot (SCReenshOT)is a simple command line screen capture utility. It uses imlib2 to grab and save images.
scrot has many useful features:
- Support for multiple image formats: JPG, PNG, GIF, and others.
- The screenshot’s quality is configurable.
- It is possible to capture a specific window or a rectangular area on the screen.
- Other features.
Because scrot is a command line utility, it can easily be scripted and put to novel uses. For instance, scrot can be used to monitor a desktop PC in absence and register unwanted activities.
To fix this problem, we can install more using the command below.
sudo apt-get -y install scrot
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install scrot.
sudo apt -y install scrot
Or if you have aptitude installed you can use the following command.
sudo aptitude install scrot
Summary
In this tutorial we learn how to fix scrot command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.