HowTos/Installing Applications

From OpenZaurus

The standard OpenZaurus installation doens't include many applications.

This page describes how to install applications from OpenZaurus feeds.

A feed is simply a list of packages. When you add a feed to your machine, you make the packages in that feed available for installation.

Take a look at the Recommended Software when deciding what you want to install for what task.

You may search for available packages in feeds using the Feed browser tool : http://ewi546.ewi.utwente.nl/tmp/hrw/fb/

Adding Feeds

Your feeds configuration files may be set up one of two ways: either your feeds are listed in /etc/ipkg.conf or they're listed in separate files in /etc/ipkg/. To determine which your set up is, check for a directory /etc/ipkg with several *.conf feed files in it. (I believe the individual files setup is the newer method.)

  • If you have a single file with all your feeds in it, you can copy an existing feed line (for example, the "updates" line) and change both places where the old name appears (near the beginning and at the end) to the name of the new feed.
  • If you have the multiple-file setup, you can copy one of the files in /etc/ipkg/ to new-feed-name-feed.conf and then edit it to change both instances of the old feed name to the new.

For example, the feed line for the perl feed for OpenZaurus 3.5.4.* is:

src/gz perl http://ewi546.ewi.utwente.nl/mirror/www.openzaurus.org/official/unstable/3.5.4.1/feed/perl

Note that you will need to choose feeds to match your version of OpenZaurus and you may want to choose a different mirror as well.

Install on SD/CF-Card

Many OpenZaurus machines have extremely limited root disks. When installing software, you will typically want to place it on external media.

Start the root terminal from the menu. Here the manual way of installing is shown, as the GPE package manager has no way (known to me) to specify the default install location. Type

   ipkg update
   ipkg install my-package-name -d sd

or

   ipkg install my-package-name -d cf

When installing large-sized packages, it may be useful to specify an alternate temp directory, where .ipk files will be downloaded during the installation process. For instance,

   ipkg install my-package-name -d cf -t /media/cf/packages

will download the required files to /media/cf/packages instead of the default /temp directory.

Question: How can I find out what destinations are available for ipkg to install a package to?
Answer: The package manager has a configuration option to designate your destination. It expects a name (such as harddrive) and a absolute path (like /media/hdd). Be sure you have created the location first (or mounted it). If you are a more advanced user, you can edit the /etc/ipkg.conf directly.

afterwards the external storage location has to be linked into the system:

   ipkg-link mount /media/card/packages

or

   ipkg-link mount /media/cf/packages


In this way you can install gpe-filemanager or the gpe-mini-browser.