Last active
September 10, 2015 13:29
-
-
Save craigminihan/034bd7547e6ddc65a56e to your computer and use it in GitHub Desktop.
How to build AvanceDB on a Raspberry Pi 2 running Raspbian 2015-05-05
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get upgrade | |
# replace wheezy with jessie | |
sudo nano /etc/apt/sources.list | |
# update from the jessie sources | |
sudo apt-get update | |
# install gcc 4.9 and soft link the binaries into /usr/local | |
sudo apt-get install gcc-4.9 g++-4.9 | |
sudo ln -s /usr/bin/g++-4.9 /usr/local/bin/g++ | |
sudo ln -s /usr/bin/gcc-4.9 /usr/local/bin/gcc | |
sudo ln -s /usr/bin/gcov-4.9 /usr/local/bin/gcov | |
# install some deps | |
sudo apt-get install libcppunit-dev | |
sudo apt-get install libboost-all-dev | |
# get the AvanceDB source and build it | |
git clone --recursive https://github.com/RipcordSoftware/AvanceDB.git | |
cd AvanceDB | |
make -j 2 CONF=Release | |
# run it | |
cd src/avancedb/dist/Release/GNU-Linux-x86 | |
./avancedb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The main repo for AvanceDB is here: https://github.com/RipcordSoftware/AvanceDB. Designed to run on a Linux server and OSX it can exist on a Pi's 1GB RAM. Miracle.