pianobar command not found

In this troubleshooting guide we learn how to fix pianobar command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pianobar: command not found

or when using sudo you get the following error message

sudo: pianobar: command not found

Solutions to pianobar: command not found

How To Fix pianobar: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pianobar is provided by pianobar package.

pianobar is:

pianobar is a cross-platform console client for 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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pianobar

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pianobar.

sudo apt -y install pianobar

Or if you have aptitude installed you can use the following command.

sudo aptitude install pianobar

Summary

In this tutorial we learn how to fix pianobar command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.