How To Install libsoil-dev on Kali Linux

In this tutorial we learn how to install libsoil-dev on Kali Linux. libsoil-dev is Simple OpenGL Image Library - development files

Introduction

In this tutorial we learn how to install libsoil-dev on Kali Linux.

What is libsoil-dev

libsoil-dev 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 package contains everything needed to develop software using libsoil.

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

Install libsoil-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 libsoil-dev using apt-get by running the following command:

sudo apt-get -y install libsoil-dev

Install libsoil-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsoil-dev

Install libsoil-dev Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

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

sudo aptitude -y install libsoil-dev

How To Uninstall libsoil-dev on Kali Linux

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

sudo apt-get remove libsoil-dev

Uninstall libsoil-dev And Its Dependencies

To uninstall libsoil-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libsoil-dev

Remove libsoil-dev Configurations and Data

To remove libsoil-dev configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libsoil-dev

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

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

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

Dependencies

libsoil-dev have the following dependencies:

References

Summary

In this tutorial we learn how to install libsoil-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.