How To Install xtrs on Debian 12

Learn how to install xtrs on Debian 12 with this tutorial. xtrs is emulator for TRS-80 Model I/III/4/4P computers

Introduction

In this tutorial we learn how to install xtrs on Debian 12.

What is xtrs

xtrs is:

xtrs is an X-based emulator for the Tandy/Radio Shack line of Zilog Z80-based microcomputers popular in the late 1970s and early 1980s. It features cassette, floppy, and hard drive emulation, timer interrupt emulation, file import and export from the host operating system, support for most of the undocumented Z80 instructions, and a built-in debugger. Real floppy drives can be used, and, if an OSS-compatible sound driver is available, application-based sound can be played and real cassettes read and written directly through the sound card or via WAVE files. Several hi-res graphics cards are emulated and, in Model 4/4P mode, mice are supported. There is also real-time clock, sound card, serial port, joystick, and CPU clock speedup emulation.

xtrs requires ROM images from the original machines. The ROMs are copyrighted by Radio Shack and are not freely licensed. (Exception: in Model 4P mode, a freely-licensed boot ROM included with this package can be used to boot a Model 4 operating system from a diskette image.)

xtrs is maintained upstream at GitHub: see https://github.com/TimothyPMann/xtrs.

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

Install xtrs Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install xtrs

Install xtrs Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xtrs using apt by running the following command:

sudo apt -y install xtrs

Install xtrs 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install xtrs

How To Uninstall xtrs on Debian 12

To uninstall only the xtrs package we can use the following command:

sudo apt-get remove xtrs

Uninstall xtrs And Its Dependencies

To uninstall xtrs and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove xtrs

Remove xtrs Configurations and Data

To remove xtrs configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge xtrs

Remove xtrs configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xtrs

Dependencies

xtrs have the following dependencies:

References

Summary

In this tutorial we learn how to install xtrs package on Debian 12 using different package management tools: apt, apt-get and aptitude.