How To Install libaudio-flac-decoder-perl on Ubuntu 18.04

In this tutorial we learn how to install libaudio-flac-decoder-perl on Ubuntu 18.04. libaudio-flac-decoder-perl is Perl module providing an object-oriented FLAC decoder

Introduction

In this tutorial we learn how to install libaudio-flac-decoder-perl on Ubuntu 18.04.

What is libaudio-flac-decoder-perl

libaudio-flac-decoder-perl is:

The Audio::FLAC::Decoder module provides users with Decoder objects for FLAC files. One can read data in PCM format from the stream, seek by pcm samples, or time.

FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is similar to MP3, but lossless, meaning that audio is compressed in FLAC without any loss in quality. This is similar to how Zip works, except with FLAC you will get much better compression because it is designed specifically for audio and you can play back compressed FLAC files in your favorite player just like you would an MP3 file.

There are three methods to install libaudio-flac-decoder-perl on Ubuntu 18.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 libaudio-flac-decoder-perl Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libaudio-flac-decoder-perl using apt-get by running the following command:

sudo apt-get -y install libaudio-flac-decoder-perl

Install libaudio-flac-decoder-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libaudio-flac-decoder-perl using apt by running the following command:

sudo apt -y install libaudio-flac-decoder-perl

Install libaudio-flac-decoder-perl 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 libaudio-flac-decoder-perl using aptitude by running the following command:

sudo aptitude -y install libaudio-flac-decoder-perl

How To Uninstall libaudio-flac-decoder-perl on Ubuntu 18.04

To uninstall only the libaudio-flac-decoder-perl package we can use the following command:

sudo apt-get remove libaudio-flac-decoder-perl

Uninstall libaudio-flac-decoder-perl And Its Dependencies

To uninstall libaudio-flac-decoder-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libaudio-flac-decoder-perl

Remove libaudio-flac-decoder-perl Configurations and Data

To remove libaudio-flac-decoder-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libaudio-flac-decoder-perl

Remove libaudio-flac-decoder-perl configuration, data, and all of its dependencies

We can use the following command to remove libaudio-flac-decoder-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libaudio-flac-decoder-perl

References

Summary

In this tutorial we learn how to install libaudio-flac-decoder-perl package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.