xpet command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
xpet: command not found
or when using sudo you get the following error message
sudo: xpet: command not found
Solutions to xpet: command not found
How To Fix xpet: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu xpet is provided by vice package.
vice is:
VICE emulates well the hardware of the Commodore Business Machines of the pre-Amiga era. Supported are the various Pets, the VIC-20, the Commodore 64, the Commodore 128, the CBM-II series, and the PLUS/4.
Some alternate keywords for the above: VIC20, C64, C=64, C64 DTV, C128, C=128, CBM-500, CBM-600, CBM-700, PLUS4 .
This package does not contain the various ROM images needed to actually use the emulators; they are available separately from other locations (see the README.ROMs file). A corporation in the Netherlands called Tulip holds the copyrights to the ROM images, and redistribution is not permitted, but VICE itself is unencumbered.
To fix this problem, we can install more using the command below.
sudo apt-get -y install vice
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install vice.
sudo apt -y install vice
Or if you have aptitude installed you can use the following command.
sudo aptitude install vice
Summary
In this tutorial we learn how to fix xpet command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.