Difference between revisions of "Optware"

From WebOS Internals
Jump to: navigation, search
(Added "Optware Advanced Linux Command Line Installer" to the prereq's)
("Raw" Optware packages vs. mobi.optware.* packages)
Line 11: Line 11:
 
As mentioned previously, the Optware feed from preware.org includes a selection of popular packages.  These package file names follow the pattern '''mobi.optware.*'''.
 
As mentioned previously, the Optware feed from preware.org includes a selection of popular packages.  These package file names follow the pattern '''mobi.optware.*'''.
  
There over one thousand Optware packages hosted at nslu2-linux.org that are not available from preware.org.  We will refer to these as '''raw''' Optware packages (or "the nslu2-linux.org Optware packages").  One other important distinction is that raw Optware packages are managed using the '''ipkg-opt''' command, while the all packages installed by Preware (including the mobi.optware.* packages) are managed under the covers using the stock '''ipkg''' command.
+
There over one thousand Optware packages hosted at nslu2-linux.org that are not available from preware.org.  We will refer to these as '''raw''' Optware packages (or "the nslu2-linux.org Optware packages").  One other important distinction is that raw Optware packages are managed using the '''ipkg-opt''' command, while the all packages installed by Preware (including the mobi.optware.* packages) are managed under the covers using the stock '''ipkg''' command (with a mandatory -o /media/cryptofs/apps option).
  
 
Let's re-state the advice that if there is a mobi.optware.* version of the package you are looking for you should use [[Preware]] to install it instead of using the "raw" Optware package.
 
Let's re-state the advice that if there is a mobi.optware.* version of the package you are looking for you should use [[Preware]] to install it instead of using the "raw" Optware package.

Revision as of 23:24, 27 October 2011

Using Optware

Preware has several of the most popular and useful Optware packages available in the Optware feed. If the Optware package you're looking for is available in Preware, just use Preware to install it.

At a minimum, please install both the "Optware Bootstrap" and the "Optware Advanced Linux Command Line Installer" using Preware. The instructions on this page assume that you have done so.

These instructions also assume you have command-line access to your Pre. Instructions for getting this access can be found at Access via SSH and Access via Novaterm.

"Raw" Optware packages vs. mobi.optware.* packages

As mentioned previously, the Optware feed from preware.org includes a selection of popular packages. These package file names follow the pattern mobi.optware.*.

There over one thousand Optware packages hosted at nslu2-linux.org that are not available from preware.org. We will refer to these as raw Optware packages (or "the nslu2-linux.org Optware packages"). One other important distinction is that raw Optware packages are managed using the ipkg-opt command, while the all packages installed by Preware (including the mobi.optware.* packages) are managed under the covers using the stock ipkg command (with a mandatory -o /media/cryptofs/apps option).

Let's re-state the advice that if there is a mobi.optware.* version of the package you are looking for you should use Preware to install it instead of using the "raw" Optware package.

Installing "raw" nslu2-linux.org Optware packages

Make your filesystem read-write

  mount -o rw,remount /

Then you need to download a fresh copy of the package list from nslu2-linux.org.

 ipkg-opt update

To get a list of all packages

 ipkg-opt list

To get a list of installed packages

 ipkg-opt list_installed

Here is an example of the command used to install the Python 2.5 interpreter

 ipkg-opt install python25


Don't forget to make your filesystem read-only once you're done.

  mount -o ro,remount /