HOW TO INSTALL LIBPD ON RASPBIAN

Recipe for installing and building Libpd on Raspbian. Serves one.

[code]
git clone https://github.com/libpd/libpd.git
cd libpd
git submodule init
git submodule update

sudo apt-get update
sudo apt-get install python-dev
sudo apt-get install swig
sudo apt-get install libasound-dev
sudo apt-get install libportaudio-dev
sudo apt-get install portaudio19-dev
sudo apt-get install python-pyaudio

make
cd python
make
sudo make install[/code]

Notes: updating package list (first line in block 2) is probably unnecessary if this is, like, your computer. But if it's, say, a Raspberry Pi your boss bought that another team member set up, you'll have to update or else python-dev won't install. libasound-dev and libportaudio-dev might not be necessary; I'm not sure and I've never had time to test. Block 3 needs to be run from /libpd, which you should still be in after the block 1, but if you aren't, add "cd libpd" to the beginning of block 3. Bring something to distract you while the two makes and the make install run. Add pepper to taste.


Learn More :