How To Install liquidsoap-plugin-lastfm on Ubuntu 18.04

In this tutorial we learn how to install liquidsoap-plugin-lastfm on Ubuntu 18.04. liquidsoap-plugin-lastfm is audio streaming language – Lastfm plugin

Introduction

In this tutorial we learn how to install liquidsoap-plugin-lastfm on Ubuntu 18.04.

What is liquidsoap-plugin-lastfm

liquidsoap-plugin-lastfm is:

Liquidsoap is a powerful tool for building complex audio streaming systems, typically targeting internet radios (e.g. icecast streams).

It consists of a simple script language, in which you can create, combine and transform audio sources. Its design makes liquidsoap flexible and easily extensible.

This package provides support for Lastfm submission and radio streaming in Liquidsoap.

There are three methods to install liquidsoap-plugin-lastfm 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 liquidsoap-plugin-lastfm Using apt-get

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

sudo apt-get update

After updating apt database, We can install liquidsoap-plugin-lastfm using apt-get by running the following command:

sudo apt-get -y install liquidsoap-plugin-lastfm

Install liquidsoap-plugin-lastfm Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install liquidsoap-plugin-lastfm using apt by running the following command:

sudo apt -y install liquidsoap-plugin-lastfm

Install liquidsoap-plugin-lastfm 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 liquidsoap-plugin-lastfm using aptitude by running the following command:

sudo aptitude -y install liquidsoap-plugin-lastfm

How To Uninstall liquidsoap-plugin-lastfm on Ubuntu 18.04

To uninstall only the liquidsoap-plugin-lastfm package we can use the following command:

sudo apt-get remove liquidsoap-plugin-lastfm

Uninstall liquidsoap-plugin-lastfm And Its Dependencies

To uninstall liquidsoap-plugin-lastfm and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove liquidsoap-plugin-lastfm

Remove liquidsoap-plugin-lastfm Configurations and Data

To remove liquidsoap-plugin-lastfm configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge liquidsoap-plugin-lastfm

Remove liquidsoap-plugin-lastfm configuration, data, and all of its dependencies

We can use the following command to remove liquidsoap-plugin-lastfm configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge liquidsoap-plugin-lastfm

References

Summary

In this tutorial we learn how to install liquidsoap-plugin-lastfm package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.