How To Install libaudiomask-dev on Ubuntu 22.04
Introduction
In this tutorial we learn how to install libaudiomask-dev
on Ubuntu 22.04.
What is libaudiomask-dev
libaudiomask-dev is:
Evaluates the simultaneous masking threshold for audio. The masking threshold is a psychoacoustics property of the perception of sound. This threshold determines the cut-off in perception. Any Fourier signal below the threshold is not perceived by listeners.
Simultaneous masking is the basis of mp3 audio compression. This GPL implementation allows arbitrary sample rate and window sizes. It is extremely simple to use, rather cheap in computation complexity and gives great results. To alter the degree of masking (quality of the playback after compression), simply shift the threshold this library generates up and down.
The development files are found in the documentation directory under /usr/share/doc. It includes a good API, as well as examples. The examples include C++ and an octave file to view the result.
There are three methods to install libaudiomask-dev
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libaudiomask-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 libaudiomask-dev
using apt-get
by running the following command:
sudo apt-get -y install libaudiomask-dev
Install libaudiomask-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libaudiomask-dev
using apt
by running the following command:
sudo apt -y install libaudiomask-dev
Install libaudiomask-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libaudiomask-dev
using aptitude
by running the following command:
sudo aptitude -y install libaudiomask-dev
How To Uninstall libaudiomask-dev on Ubuntu 22.04
To uninstall only the libaudiomask-dev
package we can use the following command:
sudo apt-get remove libaudiomask-dev
Uninstall libaudiomask-dev And Its Dependencies
To uninstall libaudiomask-dev
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libaudiomask-dev
Remove libaudiomask-dev Configurations and Data
To remove libaudiomask-dev
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libaudiomask-dev
Remove libaudiomask-dev configuration, data, and all of its dependencies
We can use the following command to remove libaudiomask-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libaudiomask-dev
References
Summary
In this tutorial we learn how to install libaudiomask-dev
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.