How To Install libsquirrel-dev on Debian 11

In this tutorial we learn how to install libsquirrel-dev on Debian 11. libsquirrel-dev is development files for the Squirrel programming language

Introduction

In this tutorial we learn how to install libsquirrel-dev on Debian 11.

What is libsquirrel-dev

libsquirrel-dev is:

Squirrel is a high-level imperative, object-oriented programming language, designed to be a lightweight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games.

This package contains developer resources for using the Squirrel library. Install it if you are developing programs that use the Squirrel API.

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

Install libsquirrel-dev Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsquirrel-dev

Install libsquirrel-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsquirrel-dev

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

sudo aptitude -y install libsquirrel-dev

How To Uninstall libsquirrel-dev on Debian 11

To uninstall only the libsquirrel-dev package we can use the following command:

sudo apt-get remove libsquirrel-dev

Uninstall libsquirrel-dev And Its Dependencies

To uninstall libsquirrel-dev and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove libsquirrel-dev

Remove libsquirrel-dev Configurations and Data

To remove libsquirrel-dev configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge libsquirrel-dev

Remove libsquirrel-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsquirrel-dev

Dependencies

libsquirrel-dev have the following dependencies:

References

Summary

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