NSLU2-Linux
view · edit · print · history

Optware.Slugosbe History

Hide minor edits - Show changes to markup

March 13, 2009, at 05:00 AM by mwester --
Added lines 1-2:

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

March 05, 2009, at 10:51 PM by BrianZhou -- optware/slugosbe renamed to optware/slugos4be
Changed line 7 from:
  1. feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable
to:
  1. feed=http://ipkg.nslu2-linux.org/feeds/optware/slugos4be/cross/unstable
July 26, 2008, at 03:15 AM by BrianZhou -- made easier to copy-n-paste
Changed lines 5-11 from:
 $ su
 # feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/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
to:
$ su
# feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/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
Changed lines 15-18 from:
 # /opt/bin/ipkg-opt update
 # /opt/bin/ipkg-opt list
 # /opt/bin/ipkg-opt install <pkg_foo> <pkg_bar> ...
to:
# /opt/bin/ipkg-opt update
# /opt/bin/ipkg-opt list
# /opt/bin/ipkg-opt install <pkg_foo> <pkg_bar> ...
January 12, 2008, at 08:17 PM by BrianZhou -- separate ipkg-opt usage to a different paragraph
Changed lines 3-4 from:

Manual bootstrap:

to:

Manual bootstrap (here bootstrap means to setup ipkg without using ipkg):

Changed lines 11-13 from:
 # /opt/bin/ipkg update
 # /opt/bin/ipkg install <pkg_foo> <pkg_bar> ...
to:

To install package after bootstrapping (replace <pkg_foo> <pkg_bar> with your package name):

 # /opt/bin/ipkg-opt update
 # /opt/bin/ipkg-opt list
 # /opt/bin/ipkg-opt install <pkg_foo> <pkg_bar> ...
Added lines 21-29:

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.


Deleted lines 60-69:

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.

January 09, 2008, at 08:29 PM by WDTY --
Added line 19:
January 09, 2008, at 08:29 PM by WDTY --
Added line 22:
Added line 24:
Added line 26:
Added line 28:
Added line 30:
Added line 32:
Added line 34:
Added line 36:
Added line 38:
Added line 40:
Added line 42:
Added line 45:
January 09, 2008, at 08:27 PM by WDTY --
Changed line 18 from:

[b][extra info][/b]

to:

[extra info]

January 09, 2008, at 08:27 PM by WDTY --
Changed line 18 from:

[extra info]

to:

[b][extra info][/b]

Changed line 21 from:

<WDTY> ola,sort one...can someone tell me what bootstrapping means?

to:

<WDTY> ola,sort one...can someone tell me what bootstrapping means?

Deleted line 22:
Changed lines 24-26 from:

WDTY> ah,okay. but what do I have to do with the above instruction?

to:

<WDTY> ah,okay. but what do I have to do with the above instruction?

Deleted line 25:
Deleted line 26:
Deleted line 27:
Deleted line 28:
Deleted line 29:
Deleted line 30:
Deleted line 31:
January 09, 2008, at 08:26 PM by WDTY --
Changed line 21 from:

<WDTY> ola,sort one...can someone tell me what bootstrapping means?

to:

<WDTY> ola,sort one...can someone tell me what bootstrapping means?

Added line 23:
Added line 25:
Added line 27:
Added line 29:
Added line 31:
Changed lines 33-35 from:

eno> in this particular case, you wget and tar extract

to:

<eno> in this particular case, you wget and tar extract

Added line 37:
Added line 39:
Added line 41:
January 09, 2008, at 08:26 PM by WDTY --
Deleted line 14:
Added lines 18-38:

[extra info] For some people (like me), which don`t know what bootstrapping means and dont know what to do with the above script lines: sort explanation go to the last line,otherwise read on!

<WDTY> ola,sort one...can someone tell me what bootstrapping means? (yeah,red the wiki and google is my friend also, but I mean it in the following context: http://www.nslu2-linux.org/wiki/Optware/Slugosbe ) <eno> in the context of http://www.nslu2-linux.org/wiki/Optware/Slugosbe it means installing /opt/bin/ipkg and all dependencies so you can start using ipkg. WDTY> ah,okay. but what do I have to do with the above instruction? <eno> the basic problem is that you cannot install ipkg with ipkg. <Reedy_Boy> "In computing, bootstrapping refers to a process where a simple system activates another more complicated system that serves the same purpose." <Reedy_Boy> yeah, you need to get something on so you can get into something else. eno> in this particular case, you wget and tar extract <eno> on other platforms, it's more automated, you bootstrap ipkg by running a self-extracting xsh (shell) script <WDTY> okay,first I use vi or some to copy/past it in a file ,then chmod,then run? <WDTY> "./bootstrap-bla.sh" <eno> yeah, that works, you can also copy/paste/execute (the above lines) line by line.

[/extra info]

December 04, 2007, at 07:17 AM by BrianZhou -- used $feed variable
Changed lines 6-8 from:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages \ 
   | awk '/^Filename: ipkg-opt/ {print $2}'`
 # wget http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/$ipk_name
to:
 # feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable
 # ipk_name=`wget -qO- $feed/Packages | awk '/^Filename: ipkg-opt/ {print $2}'`
 # wget $feed/$ipk_name
November 10, 2007, at 08:04 PM by saned -- added /etc/profile
Changed line 22 from:
  • 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.
to:
  • 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
October 22, 2007, at 02:09 PM by BrianZhou -- /opt/bin/update-alternatives uses full path, workaround no longer needed
Changed lines 19-20 from:

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). For /opt/bin/update-alternatives to work, it's recommended to have /opt/bin ahead of /usr/bin in PATH, at least for the shell session running /opt/bin/ipkg-opt.

to:

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).

October 22, 2007, at 02:08 PM by BrianZhou -- /opt/bin/update-alternatives uses full path, workaround no longer needed
October 22, 2007, at 01:03 AM by BrianZhou -- recommend /opt/bin before /usr/bin for update-alternatives
Changed lines 19-20 from:

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).

to:

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). For /opt/bin/update-alternatives to work, it's recommended to have /opt/bin ahead of /usr/bin in PATH, at least for the shell session running /opt/bin/ipkg-opt.

October 08, 2007, at 09:56 PM by BrianZhou -- feed no longer new
Changed lines 1-2 from:

This is a new Optware feed for SlugOS/BE (used to be called OpenSlug), with the same toolchain as SlugOS/BE. See SlugosbeDevel to learn how to develop for it.

to:

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

October 03, 2007, at 03:44 PM by BrianZhou -- using Packages instead of Packages.gz
Changed lines 6-7 from:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages.gz \ 
   | gunzip -d \ 
to:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages \ 
July 04, 2007, at 03:13 PM by mwester -- Questions should be asked on the mailing list, not placed in the wiki.
Changed line 26 from:

Question: Where to get help if it does not work this way?

to:

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

July 04, 2007, at 02:55 PM by Fabio Vassalli --
Changed line 26 from:

Question: Where to get help if it will not work this way?

to:

Question: Where to get help if it does not work this way?

July 04, 2007, at 02:55 PM by Fabio Vassalli -- where to get help?
Changed lines 24-26 from:
  • 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.
to:
  • 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.

Question: Where to get help if it will not work this way?

May 04, 2007, at 08:13 PM by BrianZhou --
Changed lines 6-7 from:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages.gz    | gunzip -d \
to:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages.gz \ 
   | gunzip -d \ 
May 04, 2007, at 08:12 PM by BrianZhou --
Changed lines 6-8 from:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages.gz | gunzip -d | awk '/^Filename: ipkg-opt/ {print $2}'`
to:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages.gz    | gunzip -d    | awk '/^Filename: ipkg-opt/ {print $2}'`
May 04, 2007, at 08:11 PM by BrianZhou -- always get the latest ipkg-opt
Changed lines 6-7 from:
 # wget http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/ipkg-opt_0.99.163-9_armeb.ipk
 # tar -xOvzf ipkg-opt_*_armeb.ipk ./data.tar.gz | tar -C / -xzvf -
to:
 # ipk_name=`wget -qO- http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/Packages.gz | gunzip -d | awk '/^Filename: ipkg-opt/ {print $2}'`
 # wget http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/$ipk_name
 # tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
May 04, 2007, at 02:58 PM by Sinister Shadow -- More minor link corrections
Changed lines 1-2 from:

This is a new Optware feed for SlugOS/BE (used to be called OpenSlug), with the same toolchain as SlugOS/BE. See SlugosbeDevel to learn how to develop for it.

to:

This is a new Optware feed for SlugOS/BE (used to be called OpenSlug), with the same toolchain as SlugOS/BE. See SlugosbeDevel to learn how to develop for it.

May 04, 2007, at 02:58 PM by Sinister Shadow -- Corrected links
Changed lines 1-2 from:

This is a new Optware feed for SlugOS/BE (used to be called OpenSlug), with the same toolchain as SlugOS/BE. See SlugosbeDevel to learn how to develop for it.

to:

This is a new Optware feed for SlugOS/BE (used to be called OpenSlug), with the same toolchain as SlugOS/BE. See SlugosbeDevel to learn how to develop for it.

May 04, 2007, at 02:56 PM by Sinister Shadow -- Minor spelling error and updated link for latest ipkg-opt
Changed lines 1-2 from:

This is a new Optware feed for slugosbe (used to be called openslug), with the same toolchain as slugosbe. See SlugosbeDevel for how to development for it.

to:

This is a new Optware feed for SlugOS/BE (used to be called OpenSlug), with the same toolchain as SlugOS/BE. See SlugosbeDevel to learn how to develop for it.

Changed line 6 from:
 # wget http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/ipkg-opt_0.99.163-8_armeb.ipk
to:
 # wget http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/ipkg-opt_0.99.163-9_armeb.ipk
February 21, 2007, at 06:11 AM by markstinson -- Added more tips
Changed line 21 from:
  • ALWAYS check to see if a package is available via the ipkg command first, before installing it from 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.
to:
  • 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.
February 21, 2007, at 06:10 AM by markstinson -- Added some more tips
Changed lines 17-21 from:

It's important to make sure you specify the command clearly (explicitly with full path, or set the PATH to include /opt/bin ).

to:

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.
  • ALWAYS check to see if a package is available via the ipkg command first, before installing it from 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.
February 20, 2007, at 06:54 PM by markstinson -- Clarifying the PATH update
Changed line 17 from:

it's important to make sure you specify the command clearly (explicitly with full path, or set the PATH).

to:

It's important to make sure you specify the command clearly (explicitly with full path, or set the PATH to include /opt/bin ).

February 13, 2007, at 05:35 AM by BrianZhou -- s/openslug/slugosbe/g
Changed lines 1-2 from:

This is a new Optware feed for openslug, with the same toolchain as openslug. See SlugosbeDevel for how to development for it.

to:

This is a new Optware feed for slugosbe (used to be called openslug), with the same toolchain as slugosbe. See SlugosbeDevel for how to development for it.

February 07, 2007, at 02:50 PM by BrianZhou -- small sed syntax change
Changed line 8 from:
 # sed -ie 's|/stable|/unstable|' /opt/etc/ipkg.conf
to:
 # sed -i -e 's|/stable|/unstable|' /opt/etc/ipkg.conf
January 31, 2007, at 05:03 PM by BrianZhou --
Changed lines 14-16 from:

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

to:
  1. /usr/bin/ipkg
  2. /opt/bin/ipkg-opt
January 31, 2007, at 05:01 PM by BrianZhou --
Changed lines 14-16 from:
 1. /usr/bin/ipkg
 1. /opt/bin/ipkg-opt
to:

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

January 31, 2007, at 04:46 PM by BrianZhou -- distinguish /usr/bin/ipkg from /opt/bin/ipkg
Changed lines 1-2 from:

This is a new Optware feed for openslug, with the same toolchain as openslug.

to:

This is a new Optware feed for openslug, with the same toolchain as openslug. See SlugosbeDevel for how to development for it.

Changed lines 10-17 from:
 # /opt/bin/ipkg install <pkg_foo> <pkg_bar> ...
to:
 # /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
 1. /opt/bin/ipkg-opt

it's important to make sure you specify the command clearly (explicitly with full path, or set the PATH).

January 11, 2007, at 12:06 AM by BrianZhou -- initial description of manual bootstrap
Changed lines 1-2 from:

This is a new Optware feed with the same toolchain as openslug.

to:

This is a new Optware feed for openslug, with the same toolchain as openslug.

January 11, 2007, at 12:05 AM by BrianZhou -- initial description of manual bootstrap
Added lines 1-10:

This is a new Optware feed with the same toolchain as openslug.

Manual bootstrap:

 $ su
 # wget http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable/ipkg-opt_0.99.163-8_armeb.ipk
 # tar -xOvzf ipkg-opt_*_armeb.ipk ./data.tar.gz | tar -C / -xzvf -
 # sed -ie 's|/stable|/unstable|' /opt/etc/ipkg.conf
 # /opt/bin/ipkg update
 # /opt/bin/ipkg install <pkg_foo> <pkg_bar> ...
view · edit · print · history · Last edited by mwester.
Based on work by BrianZhou, WDTY, saned, mwester, Fabio Vassalli, Sinister Shadow, and markstinson.
Originally by BrianZhou.
Page last modified on March 13, 2009, at 05:00 AM