How To Install spectrum-roms on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
3 minutes • 474 words
Introduction
In this tutorial we learn how to install spectrum-roms on Ubuntu.
What is spectrum-roms
spectrum-roms is:
This package provides images of the read-only memories from various versions of the Sinclair Spectrum. Although the canonical source code for the ROMs is no longer available, the Incomplete Spectrum ROM Assembly (of the 48K code) is here for your reference.
The current list of ROMs included is:
- 48.rom - Original 48K ROM
- 128-0.rom - 128K ROM 0 (128K editor and menu)
- 128-1.rom - 128K ROM 1 (48K BASIC)
- 128-spanish-0.rom - Spanish 128K ROM 0 (128K editor & menu)
- 128-spanish-1.rom - Spanish 128K ROM 1 (48K BASIC)
- if1-2.rom - Interface 1 v2 ROM
- plus2-0.rom - +2 ROM 0 (128K editor and menu)
- plus2-1.rom - +2 ROM 1 (48K BASIC)
- plus3-40-0.rom - +2A/+3 v4.0 ROM 0 (128K editor)
- plus3-40-1.rom - +2A/+3 v4.0 ROM 1 (128K syntax checker)
- plus3-40-2.rom - +2A/+3 v4.0 ROM 2 (+3DOS)
- plus3-40-3.rom - +2A/+3 v4.0 ROM 3 (48K BASIC)
- tc2048.rom - Original 48K ROM modified for the Timex TC2048
There are three methods to install spectrum-roms on Ubuntu. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install spectrum-roms Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install spectrum-roms using apt-get by running the following command:
sudo apt-get -y install spectrum-roms
Install spectrum-roms Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install spectrum-roms using apt by running the following command:
sudo apt -y install spectrum-roms
Install spectrum-roms 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 spectrum-roms using aptitude by running the following command:
sudo aptitude -y install spectrum-roms
How To Uninstall spectrum-roms on Ubuntu
To uninstall only the spectrum-roms package we can use the following command:
sudo apt-get remove spectrum-roms
Uninstall spectrum-roms And Its Dependencies
To uninstall spectrum-roms and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove spectrum-roms
Remove spectrum-roms Configurations and Data
To remove spectrum-roms configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge spectrum-roms
Remove spectrum-roms configuration, data, and all of its dependencies
We can use the following command to remove spectrum-roms configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge spectrum-roms
Dependencies
spectrum-roms have the following dependencies:
References
Summary
In this tutorial we learn how to install spectrum-roms package on Ubuntu using different package management tools: apt, apt-get and aptitude.