LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2005, 02:02 PM   #1
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Rep: Reputation: 30
Help I lost Firefox!!!


Hi,

I feel so dumb.

I just installed firefox through the terminal in KDE. This is the first time I have installed any programs in Linux. I was unsure of what directory to install programs too. Any suggestions about that would be much appreciated.

Anyway, I installed firefox to my /root directory. Firefox opened and I used it for a bit before closing it and now that I want to reopen it I can't find where to do so!!

This is obviously a really simple question. Will someone please help me?
 
Old 08-28-2005, 02:22 PM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 47
What procedure did you use to install it? Did you unpack a tar.gz in /root? Or did you use a slackware .tgz? In /root no other users will be able to see it.

Also it's recommended to not run things such as internet browsers as root. The easiest way to install Firefox is to use the .tgz and, as root, run:

installpkg *firefox*.tgz

The executable will be /usr/lib/firefox-1.0.6/firefox

Also, for java and flash and anything else, the plugins will need to be installed into ~/.mozilla/plugins. Example: copy /usr/lib/jre-1.5.0_03/plugin/ns7/libjavaplugin_oji.so to ~/.mozilla/plugins
 
Old 08-28-2005, 02:25 PM   #3
BROse
Member
 
Registered: Nov 2003
Location: Here & Now
Distribution: SuSE 10.2
Posts: 96

Rep: Reputation: 15
Try /opt/MozillaFirefox/lib/ or whereis firefox
 
Old 08-28-2005, 02:37 PM   #4
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Original Poster
Rep: Reputation: 30
Hi,

As root I unpacked a tar.gz in /root then cd into the installer and ./firefox-install

What directory should I have installed firefox to?

I'm a total newbie to Linux and I haven't made any users yet. I guess it is a bad idea to browse as root because of security issues???

So you are saying I should use a different file to install Firefox, one that ends in .tgz?

Thanks
 
Old 08-28-2005, 03:01 PM   #5
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,178

Rep: Reputation: 47
There's nothing wrong with using the firefox-installer. It gives you all the installation options like a windows installer might do. The tgz is an archive of all the files that would be created using the installer. It's just easier to install and eliminates the questions.

When running the installer what path did you put as the destination? That's where the firefox files went. Oh, it doesn't create a /firefox dir of it's own. So if you put /root, the firefox binary is /root/firefox, not /root/firefox/firefox.

I always use my /opt directory for it. In the installer I put as a destination folder /opt/firefox. Any user can access it from there. /usr/local is another decent place for it.
 
Old 08-28-2005, 03:37 PM   #6
adds2one
Member
 
Registered: Aug 2005
Location: Vancouver, BC
Distribution: Ubuntu 6.06
Posts: 154

Original Poster
Rep: Reputation: 30
OK, I uninstalled and reinstalled to /opt/firefox

In that folder there is a file that looks like this in the terminal: firefox*
typing this will not execute Firefox from the terminal, BUT within KDE I can click on this file and Firefox will launch.

If I make a copy of this file on my desktop it doesn't work. Also the icon for this file looks like a picture of a terminal rather than the firefox logo. I found the firefox logo in a folder in the same directory.

So I guess my question is now, how do I make shortcuts to launch Firefox from my desktop or the panel AND how do I make it have the correct icon?
 
Old 08-28-2005, 04:32 PM   #7
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
I don't know about the icon questions but if you want to run it in a terminal just by typing firefox you need to add /opt/firefox to your PATH (add the line "export PATH=$PATH:/opt/firefox" to your ~/.bashrc file) or type the whole path to run it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lost firefox bookmarks epoo Linux - Software 3 09-19-2005 04:10 PM
Lost mouse after reboot+lost modem BACTRATE Mandriva 3 04-07-2005 07:45 AM
firefox lost sound after installing alsa kidicarus Linux - Software 3 12-30-2004 10:48 PM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 10:01 AM
Lost keywork functionality in Firefox Boffy Linux - Software 2 10-17-2004 09:41 AM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration