Last active
April 10, 2018 15:44
-
-
Save MitchRatquest/4a2cfd7909963133a0b149bb3b36e9f6 to your computer and use it in GitHub Desktop.
install script for opkg
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 install -y gcc \ | |
pkg-config \ | |
libarchive13 \ | |
libarchive-dev \ | |
libcurl3 \ | |
libcurl3-dev \ | |
libgpgme11 \ | |
libgpgme11-dev \ | |
autogen \ | |
autoconf \ | |
make \ | |
libtool \ | |
curl \ | |
libtool-bin | |
#need newest version of libarchive | |
#or you get an error related to archive_write_set_format_raw | |
#this comes from debian unstable | |
http://http.debian.net/debian/pool/main/liba/libarchive/libarchive_3.2.2.orig.tar.gz | |
tar -zxvf libarchive_3.2.2.orig.tar.gz | |
cd libarchive_3.2.2.orig | |
./configure | |
make | |
sudo make install | |
cd .. | |
wget http://git.yoctoproject.org/cgit/cgit.cgi/opkg/snapshot/opkg-0.3.6.tar.gz | |
tar -zxvf opkg-0.3.6.tar.fv | |
cd opkg-0.3.6 | |
./autogen.sh | |
./configure --with-static-libopkg --disable-shared | |
make | |
sudo make install | |
cd .. | |
wget https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/snapshot/opkg-utils-0.3.6.tar.gz | |
tar -vxzf opkg-utils-0.3.6.tar.gz | |
cd opkg-utils-0.3.6/ | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment