How To Install madplay on Ubuntu 20.04
Introduction
In this tutorial we learn how to install madplay
on Ubuntu 20.04.
What is madplay
madplay is:
MAD is an MPEG audio decoder. It currently only supports the MPEG 1 standard, but fully implements all three audio layers (Layer I, Layer II, and Layer III, the latter often colloquially known as MP3.). There is also full support for ID3 tags.
All work is done in fixed point, so it even works on machines without an FPU.
There are three methods to install madplay
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 madplay Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install madplay
using apt-get
by running the following command:
sudo apt-get -y install madplay
Install madplay Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install madplay
using apt
by running the following command:
sudo apt -y install madplay
Install madplay 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 madplay
using aptitude
by running the following command:
sudo aptitude -y install madplay
How To Uninstall madplay on Ubuntu 20.04
To uninstall only the madplay
package we can use the following command:
sudo apt-get remove madplay
Uninstall madplay And Its Dependencies
To uninstall madplay
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove madplay
Remove madplay Configurations and Data
To remove madplay
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge madplay
Remove madplay configuration, data, and all of its dependencies
We can use the following command to remove madplay
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge madplay
References
Summary
In this tutorial we learn how to install madplay
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.