PDA

View Full Version : Kpackage Problem installing Firefox



jMon54
10-26-2004, 09:22 PM
I am having a problem installing Firefox via Kpackage. Here's what I am getting:

installpkg //home/administrator/Downloads/firefox-1.0PR-i686-linux-gtk2+xft-installer.tar.gz ;echo RESULT=$?
firefox-installer/xpi/en-US.xpi
firefox-installer/xpi/help.xpi
firefox-installer/xpi/talkback.xpi
firefox-installer/xpi/xpcom.xpi
firefox-installer/config.ini
firefox-installer/header.xpm
firefox-installer/install.ini
firefox-installer/license.txt
firefox-installer/watermark.xpm
firefox-installer/firefox-installer
firefox-installer/firefox-installer-bin
RESULT=0
<.0PR-i686-linux-gtk2+xft-installer.tar.gz ;echo RESULT=$?
sh: installpkg: command not found
RESULT=127


What am I doing wrong?

CrashedAgain
10-26-2004, 09:32 PM
try not using Kpackage, just apt-get install firefox.

jMon54
10-27-2004, 04:07 PM
Thanks for the apt-get info

BTW, I'm new to Linux, been using Windoze for way too many years. I am finding that it's this vibrant community of Linux users that really makes the difference!

rrfish72
10-27-2004, 05:49 PM
You could also use klik: http://klik.berlios.de/

jMon54
10-28-2004, 04:43 PM
When I used the suggestion below, all I got was an error message about package not being found. I was in the directory with the install file and running under root.


try not using Kpackage, just apt-get install firefox.

CrashedAgain
10-29-2004, 06:30 AM
When I used the suggestion below, all I got was an error message about package not being found. I was in the directory with the install file and running under root.


try not using Kpackage, just apt-get install firefox.

Here's a brief overview of installing packages in a Debian based system:

Actual package installation is done by dpkg. For an already downloaded package you could do 'dpkg -i <path & package name>. But this may fail because there may be dependencies which dpkg does not know how to find and has not been told to install.

So the next level is apt-get which will search the net for the packages it needs (including dependency packages), download and install them. It uses dpkg to do the actual install and maintains a file called /etc/apt/sources.list to know where to search for packages. This file must be updated regularly as packages get moved around in the internet repositories. This is done with the command 'apt-get update'.

But to use apt-get you must know what packages are available, so you will need a 'package browser list.

The most basic of these is dselect, which is text based and not overly user friendly. It also maintains a package available database file which must be updated regularly with 'dselect update'. I've been told that dselect update will update both the dselect database and the apt-get sources.list so it is preferable to use this instead of the 'apt-get update' command which only updates sources.list.

More user friendly alternatives for seaching for packages are the gui based applications Kpackage and Synaptic. Both of these provide information on the packages available and can download and install the package.

Dselect, Kpackage and Synaptic all use apt-get to do the actual downloading & installing.

Debian based systems must use either Debian packages or applications compiled from source. To install an RPM package, first convert it to a .deb using 'alien'.
ie: alien -d <rpm packagename>

So, for an already download package, you can try dpkg -i <package> but be prepared for dependency problems which you will have to solve yourself by manually tacking down and installing any required dependencies.

Better way is to use apt-get & let it redo the download:

first 'dselect update'. Usually the first time it is run it will need to download quite a bit & some of the downloads may fail. If this happens, just run the command again, eventually it will get all the data it needs.

then 'apt-get install firefox'. It should download the application & all required dependencies & install the application.

Selecting 'firefox' from Kpackage & following the install procedure (check mark & install marked, etc) should do the same thing. But you do have to 'dselect update' first.

Hope this helps.

jMon54
10-29-2004, 04:07 PM
Thanks CrashedAgain! I'm gonna keep those instructions close by at least until I've got them memorized. :!: