How To Install zita-resampler on Ubuntu 20.04
Introduction
In this tutorial we learn how to install zita-resampler on Ubuntu 20.04.
What is zita-resampler
zita-resampler is:
Input format is any file readable by libsndfile, output is either WAV (WAVEX for more than 2 channels) or CAF. Apart from resampling, users can change the sample format to 16-bit, 24-bit or float, and for 16-bit output, add dithering.
Available dithering types are rectangular, triangular and Lipschitz' optimised error feedback filter. Some examples of dithering can be seen here: https://kokkinizita.linuxaudio.org/linuxaudio/dithering.html Task: ubuntustudio-audio
There are three methods to install zita-resampler on Ubuntu 20.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 zita-resampler Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install zita-resampler using apt-get by running the following command:
sudo apt-get -y install zita-resampler
Install zita-resampler Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install zita-resampler using apt by running the following command:
sudo apt -y install zita-resampler
Install zita-resampler 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 zita-resampler using aptitude by running the following command:
sudo aptitude -y install zita-resampler
How To Uninstall zita-resampler on Ubuntu 20.04
To uninstall only the zita-resampler package we can use the following command:
sudo apt-get remove zita-resampler
Uninstall zita-resampler And Its Dependencies
To uninstall zita-resampler and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove zita-resampler
Remove zita-resampler Configurations and Data
To remove zita-resampler configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge zita-resampler
Remove zita-resampler configuration, data, and all of its dependencies
We can use the following command to remove zita-resampler configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge zita-resampler
References
Summary
In this tutorial we learn how to install zita-resampler package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.