How To Install libsidplay2 on Debian 12

Learn how to install libsidplay2 on Debian 12 with this tutorial. libsidplay2 is SID (MOS 6581) emulation library

Introduction

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

What is libsidplay2

libsidplay2 is:

This is a (shared) library that implements the emulation of the C64’s SID chip (MOS 6581) and CPU (6510). It is used by several “player” applications, e.g. sidplay, which make it possible to listen to really a lot (13.600+) of tunes, known from old and new C64 programs (as well as Amiga compositions).

Find most of the available musics from your favourite games or demos and more in the High Voltage SID Collection (HVSC). For downloads and information about the volunteers, who maintain the collection, look at the HVSC homepage http://www.hvsc.c64.org.

There are three methods to install libsidplay2 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 libsidplay2 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsidplay2

Install libsidplay2 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsidplay2

Install libsidplay2 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 libsidplay2 using aptitude by running the following command:

sudo aptitude -y install libsidplay2

How To Uninstall libsidplay2 on Debian 12

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

sudo apt-get remove libsidplay2

Uninstall libsidplay2 And Its Dependencies

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

sudo apt-get -y autoremove libsidplay2

Remove libsidplay2 Configurations and Data

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

sudo apt-get -y purge libsidplay2

Remove libsidplay2 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsidplay2

Dependencies

libsidplay2 have the following dependencies:

References

Summary

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