Installing Firefox?


Forum: Apt-get
Topic: Installing Firefox?
started by: boehmerdaniel

Posted by boehmerdaniel on Jan. 08 2006,22:57
Hello Community,

I installed DSL to my harddrive and firefox worked fine. But after enabling GNU utils and installing apt-get it did suddenly not work... When clicking on the Firefox icon on the "desktop" the harddrive works (but only for the first time after booting) and nothing else is to be recognized.

Via "apt-cache search firefox" I looked for firefox packages to install or repair but apt shows no packages.

Later on I downloaded Firefox' deb-packages from Mozilla and tried to install them via "dpkg -i ...deb" but dpkg tells me that numerous packages are missing. I would like apt-get to install all missing packages automatically like it works in Debian out of the box.

Could you help me please?
Thanks for advice
Daniel Böhmer, Germany

Posted by mikshaw on Jan. 09 2006,02:18
firefox in DSL is not installed trough debian packages.  Furthermore it is built on gtk1.2. Furthermore furthermore it is installed into /usr/local/bin/firefox, which is a very uncommon location for packaged applications. If you try to install firefox via apt-get, the best you will get is an additional firefox installation that has no relation to the original installation in DSL.

If things went bad when you installed gnu-utils and apt, my guess is the problem is with one of those, and has nothing to do with firefox.

Posted by boehmerdaniel on Jan. 09 2006,11:12
Okay, I could have guessed that this is not a problem caused by Firefox. But this doesn't solve the problem;-)

What could go wrong with Firefox OR with apt-get, that I can't start Firefox anymore? When I am at home, I will try to run firefox from its directory but I don't think the link on the desktop is broken. I think some library may be broken or something like this...

Any ideas what to do?

Daniel Böhmer, Germany

Posted by mikshaw on Jan. 09 2006,14:33
The first thing I'd do is open an Xterminal and try to run firefox from that.  This will provide you with a screen in which to receive output from the program.
Posted by boehmerdaniel on Jan. 09 2006,15:52
Ahh, there is an output! I copy it:

dsl@box:~$ firefox
/usr/lib/mozilla-firefox/firefox-bin: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

Now, I try to find them via apt-get and maybe install them.

I search with apt-cache but found only "libgtk1.2". If I am interpreting the error message correctly Firefox wants to see GTK 2.0, eh? I'm a bit confused...

Posted by Grim on Jan. 12 2006,02:31
Try this:

`apt-get install mozilla-firefox`

it'll install an older version of Firefox (1.0.7 I think) but, more importantly, it'll install all of the peripheral libs you'll need for the current version of Firefox.

Posted by Topcat on Jan. 14 2006,16:12
I have DSL installed to my hard disk.
I tried upgrading to firefox 1.5. I followed the instructions and apparently it installed in /home/dsl, but I can't get it to work. I probably destroyed the original link to firefox in the process.

I followed your instructions and loaded apt, I get a connection and a succesful installation.

When I tried `apt-get install mozilla-firefox`  I get error:

Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package mozilla-firefox

Any ideas?

Posted by pr0f3550r on Jan. 14 2006,21:58
It should be: sudo apt-get install firefox
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.