OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: Dave Smith on March 11, 2005, 06:29:42 am

Title: How To Install Applications
Post by: Dave Smith on March 11, 2005, 06:29:42 am
Sorry to post such an elimentary question but I can't find an answer anywhere.

I've just installed OpenZaurus so I'm obviously keen to install some other applications. Although I've found some sources for apps, nowhere can I find any guidelines on how to install!

As you can tell this is my first time trying to do this so any pointers towards a "How To" would be very helpful.

Thanks

Dave
Title: How To Install Applications
Post by: lardman on March 11, 2005, 07:02:28 am
Use the package manager app, or use ipkg from the command line.

The files to install are named .ipk, you should use mainly the ones from the feed where you got the ROM images.

If you can connect your Z to the web, then click update package list (or run ipkg update), then select the package name you want, the destination (where it'll be installed) and click go.


Si
Title: How To Install Applications
Post by: davisfactor on March 11, 2005, 01:28:25 pm
Assuming that you're installing software to your SD card:

# This command will update your package list
ipkg -d sd update

# This command will install the package you want
ipkg -d sd install packagename

# This command will make all the neccessary symlinks
ipkg-link mount /mnt/card

# This command will update your library file
ldconfig

# This command will do a system-wide upgrade on all packages installed
# You will still need to do a ipkg-link mount /mnt/card and a ldconfig
ipkg -d sd upgrade


# Here's where you will be installing your packages from.  
# You will look for your packages here:
http://www.openzaurus.org/web/index.php?op...apper&Itemid=40 (http://www.openzaurus.org/web/index.php?option=com_wrapper&Itemid=40)


# As an example, if you want to install the opie-reader package available here:
http://www.openzaurus.org/official/unstabl....1.7-r0_arm.ipk (http://www.openzaurus.org/official/unstable/3.5.2/feed/opie/opie-reader_1.1.7-r0_arm.ipk)

ipkg -d sd update
ipkg -d sd install opie-reader
ipkg-link mount /mnt/card
ldconfig


When installing packages, you only need to put whatever comes before the first underscore (_).

Also, you will want to make sure your  /etc/ipkg.conf file is up to date.

This is what my src section looks like:

src upgrades http://openzaurus.org/official/unstable/3.5.2/upgrades/ (http://openzaurus.org/official/unstable/3.5.2/upgrades/)
src base http://openzaurus.org/official/unstable/3.5.2/feed/base/ (http://openzaurus.org/official/unstable/3.5.2/feed/base/)
src libs http://openzaurus.org/official/unstable/3.5.2/feed/libs/ (http://openzaurus.org/official/unstable/3.5.2/feed/libs/)
src console http://openzaurus.org/official/unstable/3.5.2/feed/console (http://openzaurus.org/official/unstable/3.5.2/feed/console)
src opie http://openzaurus.org/official/unstable/3.5.2/feed/opie (http://openzaurus.org/official/unstable/3.5.2/feed/opie)
src devel http://openzaurus.org/official/unstable/3.5.2/feed/devel (http://openzaurus.org/official/unstable/3.5.2/feed/devel)

If you just installed 3.5.2, then you'll need to add the devel line manually.

Hope this helps!


[edit]
I'm assuming that you're running Opie.  If you're using GPE instead, then you'll need to replace the opie references with GPE.
[/edit]