view · edit · print · history

NOTE: This page is for SlugOS 4.8 ONLY, do NOT use this procedure with SlugOS 5.3!

This is an Optware feed for SlugOS/LE (used to be called DebianSlug), with the same toolchain as SlugOS/LE. See SlugosbeDevel to learn how to develop for it.

Manual bootstrap:

 $ su
 # feed=http://ipkg.nslu2-linux.org/feeds/optware/slugos4le/cross/unstable
 # ipk_name=`wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}'`
 # wget $feed/$ipk_name
 # tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
 # sed -i -e 's|/stable|/unstable|' /opt/etc/ipkg.conf
 # /opt/bin/ipkg update
 # /opt/bin/ipkg install <pkg_foo> <pkg_bar> ...

After bootstrapping, we have two independent ipkg commands and two sets of packages:

  1. /usr/bin/ipkg
  2. /opt/bin/ipkg-opt

It's important to make sure you specify the command clearly (explicitly with full path if you do not have the PATH including /opt/bin).

Keep in mind the following:

  • Make sure your environmental variables, like PATH, are updated to include your /opt directories, like /opt/bin. Otherwise, /opt installed utils & shared libraries may not be found. ie. by adding the /opt/bin path to /etc/profile
  • ALWAYS check to see if a package is available via the ipkg command first, before installing it using ipkg-opt. It shouldn't cause a problem, but it just makes sense. Version & library compatibility issues plague users even for the standard Linux distributions.

As always, please direct questions to the appropriate mailing list, or use the IRC channels.

view · edit · print · history · Last edited by BrianZhou.
Based on work by mwester and ka6sox.
Originally by ka6sox.
Page last modified on March 14, 2009, at 04:09 PM