How To Install libpiano-dev on Ubuntu 18.04

In this tutorial we learn how to install libpiano-dev on Ubuntu 18.04. libpiano-dev is library to interface with Pandora radio – development

Introduction

In this tutorial we learn how to install libpiano-dev on Ubuntu 18.04.

What is libpiano-dev

libpiano-dev is:

libpiano is a cross-platform library to interface with the personalized web radio Pandora, supporting all important features the official Flash™ client has:

* Create, delete, rename stations and add more music
* Rate and temporary ban tracks as well as move them to another station
* “Shared stations”

and some that it does not have (yet):

* last.fm scrobbling
* Proxy support for use in areas not supported by Pandora (outside the USA)

You need an account in order to use this player, so please consider create one for free before using pianobar at https://pandora.com.

This package provides the development files used to build application using libpiano.

There are three methods to install libpiano-dev 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 libpiano-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 libpiano-dev using apt-get by running the following command:

sudo apt-get -y install libpiano-dev

Install libpiano-dev Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libpiano-dev using apt by running the following command:

sudo apt -y install libpiano-dev

Install libpiano-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 libpiano-dev using aptitude by running the following command:

sudo aptitude -y install libpiano-dev

How To Uninstall libpiano-dev on Ubuntu 18.04

To uninstall only the libpiano-dev package we can use the following command:

sudo apt-get remove libpiano-dev

Uninstall libpiano-dev And Its Dependencies

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

sudo apt-get -y autoremove libpiano-dev

Remove libpiano-dev Configurations and Data

To remove libpiano-dev configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libpiano-dev

Remove libpiano-dev configuration, data, and all of its dependencies

We can use the following command to remove libpiano-dev configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libpiano-dev

References

Summary

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