Installing IPKs from the command line

From OESF

(Difference between revisions)
Jump to: navigation, search
(Added sections for other ROMS, removed numerous grammar mistakes)
Current revision (20:58, 10 May 2010) (edit) (undo)
m (Added details about ipkg for Sharp ROM)
 

Line 1:

Line 1:

==Sharp ROM==
==Sharp ROM==
- 
-
(''Not written yet'')
 
The procedure is very similar to Open Zaurus, please see below.
The procedure is very similar to Open Zaurus, please see below.
 +
 +
ipkg install application.ipk
 +
 +
Afterwards, you can check with
 +
 +
ipkg stats application
 +
 +
Get a list of available options with
 +
 +
ipkg --help
==Open Zaurus==
==Open Zaurus==

Current revision

Contents

Sharp ROM

The procedure is very similar to Open Zaurus, please see below.

 ipkg install application.ipk

Afterwards, you can check with

 ipkg stats application

Get a list of available options with

 ipkg --help

Open Zaurus

This is the how-to for the ipkg for OZ ROM but most of this should work with the Sharp ROM too.

There are several things you can do with ipkg from the command line.

1. You can update your package list: ipkg update

(Why would you want to do this ?)

2. You can upgrade all of your installed packages to the latest version: ipkg upgrade WARNING! Only run "ipkg upgrade" when when opie is not running.

3. You can install an ipk: ipkg install foo.ipk

If you try to install an ipkg this way it will try to install it to root. For the SL-5500 this is in the 16 MB of Flash ROM. Don't do that unless you still have a lot of room left in root.

The right way to install a package is to use the -d switch like this:

 ipkg -d ram install foo.ipk

You tell ipkg where you want it installed with the -d switch. You can install something in root, ram, sd, or cf.

(OK, so if I have an SL-5500 where should I choose ?)

If you wanted to install something to the SD card you would do it like this:

 ipkg -d sd install foo.ipk

After you've installed a package to a storage card (or any destination other than root in fact), run 'ipkg-link add <package-name>' or 'ipkg-link mount /mount/point/path' to link all of the files on a given destination.

e.g.:

ipkg-link add opie-console ipkg-link mount /media/card/packages

This way you don't have to mess about with altering paths, etc.

Thats the basics, but if you want to see more commands go to the Konsole and type ipkg --help

pdaXrom

(Not written yet)

Titchy Linux

(Not written yet)

Personal tools