Table of Contents
ipkg
Midge uses ipkg as package manager. ipkg is debian apt-get like package manager written on shell, and uses tar or ar. Packages for midge you can find at http://midge.vlad.org.ua/ipkg/
Also you can use packages from OpenWRT project, for more information see Links/ipkg
some screen shots
update
midge# ipkg update Downloading http://midge.vlad.org.ua/ipkg/Packages ... Connecting to midge.vlad.org.ua[212.1.120.85]:80 Packages 100% |*****************************| 6880 00:00 ETA Done. Updated list of available packages in /usr/lib/ipkg/lists/midge
install package
midge# ipkg install strace Downloading http://midge.vlad.org.ua/ipkg/./strace_0_mipsel.ipk ... Connecting to midge.vlad.org.ua[212.1.120.85]:80 strace_0_mipsel.ipk 100% |*****************************| 77666 00:00 ETA Done. Unpacking strace...Done. Configuring strace...Done. midge# which strace /ram/usr/bin/strace
See
/etc/ipkg.conf to enable another package sources
By default packages installed to the RAM, if you want install to the root filesystem use
And see
-d root switch And see
/etc/ipkg.conf
tpkg
Midge also uses tpkg (tiny package) as package manager. tpkg is my own research for a simple and very light-weight debian apt-get like package manager, its written on shell, and uses tar.gz. Packages for midge you can find at http://midge.vlad.org.ua/packages/
examples
show package
midge2# tpkg show vtun Name: vtun Filename: vtun.tar.gz Size package/installed: 41005/105234 Description: TUN/TAP virual tunnel http://vtun.sf.net "Easiest way to create Virtual Tunnels over TCP/IP networks"
install package
midge2# tpkg install tcpdump Connecting to midge.vlad.org.ua[212.1.120.85]:80 tcpdump.control 100% |*****************************| 162 00:00 ETA Package tcpdump installed midge2# which tcpdump /ram/sbin/tcpdump midge2#
