Skip to content

Instantly share code, notes, and snippets.

@bonelifer
Created March 22, 2024 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bonelifer/97df07b4e456f7b85b89652a0e786be4 to your computer and use it in GitHub Desktop.
Save bonelifer/97df07b4e456f7b85b89652a0e786be4 to your computer and use it in GitHub Desktop.
Compile and install pianobar on Debian
#!/bin/bash
# Compile and install pianobar on Debian
# Install needed apps and libraries
sudo apt install libgcrypt20-dev make libasound2-dev curl libjson-c6-dev git
# Git Clone pianobar repo
git clone https://github.com/PromyLOPh/pianobar.git
cd pianobar
#Compile
gmake clean && gmake
#Move installed version if it exists. Then copy the newly compiled version into place
pandora=/usr/bin/pianobar
if [ -f $pandora ]
then
sudo mv /usr/bin/pianobar /usr/bin/pianobar-old
fi
sudo cp ./pianobar /usr/bin/pianobar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment