Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Download, compile, and install the Broadcom BCM 2835 library for the Raspberry Pi
// wget; // My Pi can't figure out this URL
tar xvfz bcm2835-1.5.tar.gz;
cd bcm2835-1.5;
sudo make install
Copy link

malakaisbest commented Feb 18, 2016

latest version (2016-01-16)

tar xvfz bcm2835-1.49.tar.gz; 
cd bcm2835-1.49;

Copy link

graycube commented Aug 15, 2016

// Thanks @annem, I think the url and version formatting have changed again in the meantime. This worked for me:
tar xvfz bcm2835-1.50.tar.gz;
cd bcm2835-1.50;
sudo make install

Copy link

markbernard commented Feb 5, 2018

Copy link

adavidzh commented Feb 12, 2018

I cooked up this one so I do not have to think about version numbers:

sudo apt-get install html-xml-utils
mkdir -p bcm2835 && (wget -qO - `curl -sL | hxnormalize -x -e | hxselect -s '\n' -c "div.textblock>p:nth-child(4)>a:nth-child(1)"` | tar xz --strip-components=1 -C bcm2835 )
cd bcm2835
sudo make install

Copy link

ayyappan-m commented Dec 19, 2018

i have using rasbperry pi 3 cross compiler in linux but how to add my processor library (bcm2837.h)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment