How To Install libopenal-dev on Debian 9
Introduction
In this tutorial we learn how to install libopenal-dev
on Debian 9.
What is libopenal-dev
libopenal-dev is:
OpenAL, the Open Audio Library, is a joint effort to create an open, vendor-neutral, cross-platform API for interactive, primarily spatialized audio. OpenAL’s primary audience are application developers and desktop users that rely on portable standards like OpenGL, for games and other multimedia applications.
This package contains the files necessary for development with OpenAL .
There are three methods to install libopenal-dev
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libopenal-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 libopenal-dev
using apt-get
by running the following command:
sudo apt-get -y install libopenal-dev
Install libopenal-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libopenal-dev
using apt
by running the following command:
sudo apt -y install libopenal-dev
Install libopenal-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 libopenal-dev
using aptitude
by running the following command:
sudo aptitude -y install libopenal-dev
How To Uninstall libopenal-dev on Debian 9
To uninstall only the libopenal-dev
package we can use the following command:
sudo apt-get remove libopenal-dev
Uninstall libopenal-dev And Its Dependencies
To uninstall libopenal-dev
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libopenal-dev
Remove libopenal-dev Configurations and Data
To remove libopenal-dev
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libopenal-dev
Remove libopenal-dev configuration, data, and all of its dependencies
We can use the following command to remove libopenal-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libopenal-dev
Dependencies
libopenal-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libopenal-dev
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.