Author Topic: How to install ipk  (Read 3393 times)

Anonymous

  • Guest
How to install ipk
« on: March 09, 2004, 01:18:01 am »
ok got my 5500, managed to flash OZ 3.2, but now i need to install programs. Could anyone please tell me step by step how to install programs on the OZ?

Pyrates

  • Full Member
  • ***
  • Posts: 198
    • View Profile
    • http://www.pipsfrank.de
How to install ipk
« Reply #1 on: March 09, 2004, 04:36:16 am »
I\'ll give it a shot

Here are the steps:
*Get the ipk-file on the Z
*Open Konsole and change to the directory the ipk-file is in
*use ipkg to install the package
*(if you don\'t install into ROM) use ipkg-link to make the symlinks


First, you have to get that ipk file somwhere on your zaurus (maybe a flash card, but could as well be something else). I assume you did that (if you don\'t know how, well, ask again ), and I also assume you picked the right one (some onlyl run on OZ 3.3.6pre1, some are for entirely different ROMs... that\'s supposed to be in the description of the file you downloaded). Now you COULD use the packages-application (it\'s calles aqpkg, if I remember correctly) from the system tab, but I don\'t recommend that, it\'s pretty unreliable.  So, let\'s do it by hand. Open a konsole (it\'s in the applications tab).

Now, change to the directory where you put that ipk file. That is, type \"cd /your/directory\" and press enter, where \"/your/directory\" is the directory where your ipk is (if you don\'t know/remeber, try remembering the EXACT name of that file, and type \"find / |grep filename\" and press enter, where filename is just that; that will show you the path to your file).

Now you have to choose an installation destination. Choices are ROM, RAM and possibly cf-card, sd-card... dunno about others. The canonical choice for me is RAM, ROM is good as well, but that\'s pretty damn small, and you need to keep a little bit of free space there. So, let\'s do RAM. Just type \"ipkg install -dest ram filename.ipk\", press enter, and that thing should be installed. Then type \"ipkg-link add packagename\" and press enter to finish your installation. Here packagename refers to the name of the package, which is something you have to find out. It\'s abouth \"filename without .ipk without the version number\". So, e.g., for \"opie-reader_1.0.2.ipk\" that would be \"opie-reader\". If you did wrong here, there will be something like \"package not found\", so you\'ll know you didn\'t pick the right packagename.

You don\'t have to do the last step if you installed you package into the ROM (in which case you could just leave out the \"-dest ram\" part of the command abe), but it doesn\'t hurt as well. Don\'t worry about what-it\'s-good-for, that\'s something you can think about later

Hope that helps, cheers
Philipp
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"

Anonymous

  • Guest
How to install ipk
« Reply #2 on: March 09, 2004, 04:56:31 pm »
umm, ok i still need help with Konsole, when i type \"cd/mnt/cf\" i get an error no such file or directory, dont know what i am doing wrong.  i Am trying to copy a file from the root of the CF card. any suggestions?

zbones

  • Sr. Member
  • ****
  • Posts: 459
    • View Profile
How to install ipk
« Reply #3 on: March 09, 2004, 05:37:53 pm »
Quote
umm, ok i still need help with Konsole, when i type \"cd/mnt/cf\" i get an error no such file or directory

If that is exactly how you are typing it, then you need a space bewtween cd and /mnt/cf.

cd is the command (change directory)
/mnt/cf is the argument (the directory to change to)

Peter
Zaurus cl760, cacko QT rom. Zaurus sl5500 with TKCrom 1.0.
512mb Kingston cf card, 256mb Sandisk sd card, Lexar 256mb sd card.
Bluemonkey bluetooth card <-> Sony Ericsson k700i for gprs.
Buffalo WLI-CF-S11G wifi card. Haicom 303 mmf gps cf/seral card.

Anonymous

  • Guest
How to install ipk
« Reply #4 on: March 09, 2004, 07:56:26 pm »
ok thanks zbones made some process, but stuck again. I get this error
\"ROR: Cannot satisfy the following dependencies for opie-remolirc
kg_conf_write_status_fieles:Can\'t Open Status file:/mnt/cargmentation fault\"
///.....

Anonymous

  • Guest
How to install ipk
« Reply #5 on: March 10, 2004, 12:37:47 am »
ok made a bit more improvement (updated the OZ to 3.3.5), ok now i try to copy a file from the CF card to the SD card i get an error operation not perimitted

\"ipkg: cannot create symlink from ./opt/qtpalmtop/lib/libftplib.so.1 to libftplib.so.1.0.0\"

trying to install the opieftp library

Pyrates

  • Full Member
  • ***
  • Posts: 198
    • View Profile
    • http://www.pipsfrank.de
How to install ipk
« Reply #6 on: March 10, 2004, 04:42:58 am »
Hmm, you mean, you can copy the file, but you get the error message when using \"ipkg-link\" ? Try if it works anyway, I think \"ipkg-link\" is pretty dumb in that respect and tries to make symlinks it can\'t, but it\'ll work anyway.

Try to post the whole error message! A nice way to do such things is to connect to your Z via ssh, and proceed from there as if you had a konsole. Then you can just copy and paste the stuff you get, and we could help you better if we knew more details...

Cheers
Philipp
\" ... and the Vogon will do things to you that you wish you\'d never been born, or, if you\'re a clearer minded thinker, that the Vogon had never been born.\"

markw

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://xwebnet.com/
How to install ipk
« Reply #7 on: March 16, 2004, 12:23:31 am »
actually the easyest way is to just copy the files to mnt/cf/documents/install_files or somthing like that. then just go to settings and click install files or install packegas. its prety strait foward.
Zaurus sl-5500 with Sharp ROM version 3.1
128mb sd card, 2 16mb cf cards
Slackware Linux 10.0 with Kernel 2.6.7

Please visit my webblog. Be sure to post a few comments while your there :).
http://xwebnet.com/

Anonymous

  • Guest
How to install ipk
« Reply #8 on: March 18, 2004, 11:47:30 pm »
I have just installed openzaurus 3.3.5 (which comes with opie 1.0.3) on my C750.  This default initial install works fairly well.  I then try to install additional packages from the opie 1.0.3 feed (which I have downloaded and placed on my SD card) but always run into the same following problem.  (I am using mindbreaker - an apt choice since this is what opie/OZ is doing to me - app in the following example, but it is the exact same problem with other packages.)

From terminal:
# /opt/QtPalmtop/bin/mindbreaker
QuickLauncher invoked as: mindbreaker
Could not create application main window

From GUI:
Application not found
Could not locate application mindbreaker

My install method is as follows:
(From both a ssh terminal and a local terminal - same results.)
# cd /mnt/card
# /etc/init.d/opie stop
# ipkg install opie-mindbreaker_1.0.3_arm.ipk
# /etc/init.d/opie start

Everything is installed on local storage so I should not have any link issues (I think - for kicks, I ran ipkg-link and that made no difference).  I also have compared all references to \"*mindbreaker*\" and they seem to match how working applications are set up and linked.

I\'ve searched around the archives, FAQs, etc and have seen others mention this type of problem, but never seem to find any answers (answers usually say \"try the latest feed\", well, I am using the latest stable feed on a fresh clean install).  I would think installing new/additional packages is something that is done all of the time.  Appreciate any insight into this porblem.  Thanks.