How To Install libsdl-stretch-dev on Debian 10

Learn how to install libsdl-stretch-dev on Debian 10 with this tutorial. libsdl-stretch-dev is development files for SDL_stretch library

Introduction

In this tutorial we learn how to install libsdl-stretch-dev on Debian 10.

What is libsdl-stretch-dev

libsdl-stretch-dev is:

This library provides stretch and blit routines for SDL surfaces. These are optimized for speed including lots of assembler parts in the general routines and dynamic cpu native code generation for applications to compile specialized stretch-and-blit routines at runtime.

This package contains the header files and static library needed to compile applications that use SDL_stretch.

There are three methods to install libsdl-stretch-dev 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 libsdl-stretch-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 libsdl-stretch-dev using apt-get by running the following command:

sudo apt-get -y install libsdl-stretch-dev

Install libsdl-stretch-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsdl-stretch-dev

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

sudo aptitude -y install libsdl-stretch-dev

How To Uninstall libsdl-stretch-dev on Debian 10

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

sudo apt-get remove libsdl-stretch-dev

Uninstall libsdl-stretch-dev And Its Dependencies

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

sudo apt-get -y autoremove libsdl-stretch-dev

Remove libsdl-stretch-dev Configurations and Data

To remove libsdl-stretch-dev configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libsdl-stretch-dev

Remove libsdl-stretch-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsdl-stretch-dev

Dependencies

libsdl-stretch-dev have the following dependencies:

References

Summary

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