Instantly share code, notes, and snippets.

What would you like to do?
Version-agnostic installation of Raspberry Pi BCM2835 library for C
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment