Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Download, compile, and install the Broadcom BCM 2835 library for the Raspberry Pi
cd;
// wget http://www.open.com.au/mikem/bcm2835/bcm2835-1.5.tar.gz; // My Pi can't figure out this URL
wget http://67.192.60.197/mikem/bcm2835/bcm2835-1.5.tar.gz
tar xvfz bcm2835-1.5.tar.gz;
cd bcm2835-1.5;
./configure;
make;
sudo make install
@malakaisbest
Copy link

malakaisbest commented Feb 18, 2016

latest version (2016-01-16)
bcm2835-1.49.tar.gz

wget http://www.open.com.au/mikem/bcm2835/bcm2835-1.49.tar.gz
tar xvfz bcm2835-1.49.tar.gz; 
cd bcm2835-1.49;

@graycube
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:
wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.50.tar.gz;
tar xvfz bcm2835-1.50.tar.gz;
cd bcm2835-1.50;
./configure;
make;
sudo make install

@markbernard
Copy link

markbernard commented Feb 5, 2018

@adavidzh
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 http://www.airspayce.com/mikem/bcm2835 | 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
./configure
make
sudo make install

@ayyappan-m
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