How To Install libsoil1 on Debian 10

Learn how to install libsoil1 on Debian 10 with this tutorial. libsoil1 is Simple OpenGL Image Library

Introduction

In this tutorial we learn how to install libsoil1 on Debian 10.

What is libsoil1

libsoil1 is:

SOIL is a tiny C library used primarily for uploading textures into OpenGL. It supports loading BMP, PNG, JPG, TGA, DDS, PSD and HDR files as well as saving into TGA, BMP and DDS Files.

It is also able to perform common functions needed in loading OpenGL textures.

This is the shared library potentially needed for some other software to work.

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

Install libsoil1 Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install libsoil1

Install libsoil1 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsoil1

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

sudo aptitude -y install libsoil1

How To Uninstall libsoil1 on Debian 10

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

sudo apt-get remove libsoil1

Uninstall libsoil1 And Its Dependencies

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

sudo apt-get -y autoremove libsoil1

Remove libsoil1 Configurations and Data

To remove libsoil1 configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libsoil1

Remove libsoil1 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsoil1

Dependencies

libsoil1 have the following dependencies:

References

Summary

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