Last active
October 21, 2018 17:58
-
-
Save hdoverobinson/79b1c7b39aaed3ef279e834d9d568073 to your computer and use it in GitHub Desktop.
Installs RTKLIB on Debian/Ubuntu without prompt for deleting /usr/src/rtklib and ignores exit status
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
#!/bin/bash | |
RTKPACKAGES="automake build-essential checkinstall git libblas3 libblas-common libgfortran3 liblapack3" | |
RTKURL="https://github.com/tomojitakasu/RTKLIB.git -b rtklib_2.4.3" | |
###INSTALL RTKLIB PACKAGES### | |
apt-get update && | |
apt-get install -y $RTKPACKAGES && | |
###PREPARE RTKLIB SOURCE### | |
rm -rf /usr/src/rtklib/ && | |
mkdir -p /usr/src/rtklib/ && | |
cd /usr/src/rtklib/ && | |
git clone $RTKURL && | |
###COMPILE RTKLKIB SOURCE### | |
cd /usr/src/rtklib/RTKLIB/app/ && | |
make -j4 && | |
make install && | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment