xspect command not found

In this troubleshooting guide we learn how to fix xspect command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

xspect: command not found

or when using sudo you get the following error message

sudo: xspect: command not found

Solutions to xspect: command not found

How To Fix xspect: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu xspect is provided by spectemu-x11 package.

spectemu-x11 is:

xspect is the X11 version of Spectemu which emulates the 48k ZX Spectrum, which uses the Z80 microprocessor.

It emulates the Z80 processor as well as the 48k Spectrum’s other hardware: keyboard, screen, sound, tape I/O. The emulation is very close to the real thing, but it is still quite fast (It was reported to be working well on a laptop with 486 at 25MHz!). On the other hand, the user interface is not the best.

Features include: - Sound support through Linux kernel sound-card driver. - Snapshot saving and loading (.Z80 and .SNA format) - Tape emulation: loading from tape files (.TAP and .TZX format) - Optional quick loading of tapes. - Saving to tape files. - Separate utility to save tape files to real tape - Configurable with config files and from command line

To fix this problem, we can install more using the command below.

sudo apt-get -y install spectemu-x11

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install spectemu-x11.

sudo apt -y install spectemu-x11

Or if you have aptitude installed you can use the following command.

sudo aptitude install spectemu-x11

Summary

In this tutorial we learn how to fix xspect command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.