Skip to content

Instantly share code, notes, and snippets.

@jaygarcia
Last active August 6, 2019 20:35
Show Gist options
  • Save jaygarcia/04f6753c6268a6f6b45b61dddde7f254 to your computer and use it in GitHub Desktop.
Save jaygarcia/04f6753c6268a6f6b45b61dddde7f254 to your computer and use it in GitHub Desktop.
Setting up a Diet Pi for the RGB biznas
mkdir -p tmp
cd tmp
#BOOST
echo "Downloading Lib Boost 1.70.0 ...."
wget -c https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.gz -O - | tar -xz
echo "Downloading CMake..."
wget -c https://github.com/Kitware/CMake/releases/download/v3.15.1/cmake-3.15.1.tar.gz -O - | tar -xz
echo "Compiling Boost..."
cd boost_1_70_0/
./bootstrap.sh
./b2 --with-iostreams --with-thread --with-headers threading=multi install
cd ..
cd cmake-3.15.1
./configure
./make -j 4 install
cd ../..
rm -rf tmp
echo "Done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment