openwrt - Installing "opkg"? -
i'm trying install package openwrt sdk. have use opkg package manager typing:
opkg update opkg install <package>
however, in case, opkg not installed , result can't proceed.
could tell me how can install it? thank you.
i'm using kubuntu btw:
linux ghanem-vgn-bz31xt 3.16.0-34-generic #47-ubuntu smp fri apr 10 18:02:58 utc 2015 x86_64 x86_64 x86_64 gnu/linux
opkg doesn't have 'release' can install - of course because need native libraries of os , used in wide array of oss.
whenever have play on ubuntu have these 3 'one-liners' install it, if try , modify match os i'm sure it'l work you:
- download opkg release (latest when written 0.3.1):
wget http://downloads.yoctoproject.org/releases/opkg/opkg-0.3.1.tar.gz
tar -zxvf opkg-0.3.1.tar.gz
- install compilation dependencies:
apt-get update && apt-get install -y gcc libtool autoconf pkg-config libarchive13 libarchive-dev libcurl3 libcurl4-gnutls-dev libssl-dev libgpgme11-dev libtool-bin
- compile(compile with gpg support signature verification, , curl support basic auth - leave
enable-curl
flag out use default wget):- (pre-compilation) if there's no configure script (a file called configure) need call
./autogen.sh
first ./configure --with-static-libopkg --disable-shared --enable-gpg --enable-curl --prefix=/usr && make && sudo make install
- (pre-compilation) if there's no configure script (a file called configure) need call
after make install
done have opkg installed - remember add opkg.conf (example here) under /etc/opkg
Comments
Post a Comment