How To Install spectemu-x11 on Ubuntu 18.04

In this tutorial we learn how to install spectemu-x11 on Ubuntu 18.04. spectemu-x11 is Fast 48k ZX Spectrum Emulator for X11

Introduction

In this tutorial we learn how to install spectemu-x11 on Ubuntu 18.04.

What is spectemu-x11

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

There are three methods to install spectemu-x11 on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install spectemu-x11 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install spectemu-x11 using apt-get by running the following command:

sudo apt-get -y install spectemu-x11

Install spectemu-x11 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install spectemu-x11 using apt by running the following command:

sudo apt -y install spectemu-x11

Install spectemu-x11 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install spectemu-x11 using aptitude by running the following command:

sudo aptitude -y install spectemu-x11

How To Uninstall spectemu-x11 on Ubuntu 18.04

To uninstall only the spectemu-x11 package we can use the following command:

sudo apt-get remove spectemu-x11

Uninstall spectemu-x11 And Its Dependencies

To uninstall spectemu-x11 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove spectemu-x11

Remove spectemu-x11 Configurations and Data

To remove spectemu-x11 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge spectemu-x11

Remove spectemu-x11 configuration, data, and all of its dependencies

We can use the following command to remove spectemu-x11 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge spectemu-x11

References

Summary

In this tutorial we learn how to install spectemu-x11 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.