patextract command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
patextract: command not found
or when using sudo you get the following error message
sudo: patextract: command not found
Solutions to patextract: command not found
How To Fix patextract: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu patextract is provided by xautomation package.
xautomation is:
Control X from the command line for scripts, and do “visual scraping” to find things on the screen. The control interface allows mouse movement, clicking, button up/down, key up/down, etc, using the XTest extension. The visgrep program find images inside of images and reports the coordinates, allowing programs to find buttons, etc, on the screen to click on.
If you just want to control X, you may find xdotool easier to use.
To fix this problem, we can install more using the command below.
sudo apt-get -y install xautomation
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install xautomation.
sudo apt -y install xautomation
Or if you have aptitude installed you can use the following command.
sudo aptitude install xautomation
Summary
In this tutorial we learn how to fix patextract command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.