Installing opkg Package Manager on Android (mc, rsync, screen, htop, zip, busybox, tree)

Install adb

Installing adb on arch linux

yaourt -S adb

Running adb

adb kill-server
sudo adb start-server
adb shell

Installing opkg

Now run in adb shell following:

cd /sdcard
wget http://dl.dropbox.com/u/4109351/soft/android/opkg-bootstrap-v2.tar.bz2
cd /
tar xjf /sdcard/opkg-bootstrap-v2.tar.bz2
# for non cyanogen users
wget http://dl.dropbox.com/u/4109351/soft/android/opkg.conf -O /data/local/opkg.conf
# for cyanogen users
wget http://dl.dropbox.com/u/4109351/soft/android/opkg_cyanogen.conf -O /data/local/opkg.conf
# add /data/xbin to your path
export PATH="/data/xbin:$PATH"
# make /system writable
mount -o remount,rw /system
opkg install /sdcard/opkg_0.1.7+svn519-2_arm.ipk
opkg -f /data/local/opkg.conf update
opkg install opkg
mount -o remount,ro /system

Opkg usage

opkg install rsync
opkg remove rsync
# list installed packages
opkg list_installed
# list files belonging to package
opkg files rsync

Available packages

via