Created
February 8, 2016 12:26
-
-
Save lasse-it/4bf0551de20fd6345b12 to your computer and use it in GitHub Desktop.
Install make and gcc on Ubuntu Snappy Core
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 | |
function installdeb { | |
wget $baseurl$pac | |
dpkg -i $pac | |
rm $pac | |
} | |
echo "installing gcc & make" | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="gcc-4.9-base_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/glibc/" | |
pac="libc6-udeb_2.19-18+deb8u1_armhf.udeb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/glibc/" | |
pac="multiarch-support_2.19-18+deb8u1_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="libgcc1_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/b/binutils/" | |
pac="binutils_2.25-5_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gmp/" | |
pac="libgmp10_6.0.0+dfsg-6_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/i/isl/" | |
pac="libisl10_0.12.2-2_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/c/cloog/" | |
pac="libcloog-isl4_0.18.2-1+b2_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/m/mpfr4/" | |
pac="libmpfr4_3.1.2-2_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/m/mpclib3/" | |
pac="libmpc3_1.0.2-1_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="cpp-4.9_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="libgomp1_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="libatomic1_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="libasan1_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="libubsan0_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="libgcc-4.9-dev_4.9.2-10_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/gcc-4.9/" | |
pac="gcc-4.9_4.9.2-10_armhf.deb" | |
installdeb | |
ln -s /usr/bin/gcc-4.9 /usr/bin/gcc | |
baseurl="http://security.debian.org/debian-security/pool/updates/main/l/linux/" | |
pac="linux-libc-dev_3.16.7-ckt11-1+deb8u5_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/glibc/" | |
pac="libc-dev-bin_2.19-18+deb8u1_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/g/glibc/" | |
pac="libc6-dev_2.19-18+deb8u1_armhf.deb" | |
installdeb | |
baseurl="http://http.us.debian.org/debian/pool/main/m/make-dfsg/" | |
pac="make_4.0-8.1_armhf.deb" | |
installdeb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment