LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-21-2004, 08:37 PM   #1
mojo
LQ Newbie
 
Registered: Oct 2004
Location: Las Vegas, NV
Distribution: Fedora Core 2 & RHEL 3
Posts: 7

Rep: Reputation: 0
General application installation help needed


I am a newbie with Linux and have been in the Windows world far too long. I am trying to install Firefox and Thunderbird onto a Fedora Core 2 distro and am experiencing some problems.

I want to use the GUI to get around at first and then learn the CLI. My problem is...If I am running an installer (such as Firefox 1.0PR or Webmin) under a GUI and it prompts me for a location to install into, where is the best place for such applications to be installed? I know that there are directories like /bin, /usr, etc., but which is the best to use for installations of miscellaneous applications like Firefox. By misc. apps I am referring to those which are not part of a distro like apache, MySQL, etc.

When I have let the Firefox installation complete with default settings for path (the /downloads directory the package was saved to) it gives me no errors but I cannot seem to find a way to launch Firefox. I have tried to search the drive for "firefox" but cannot launch anything but the installer again.

I am so accustomed to the Windows world of "program files" or a dir of my choice and I can easily find the executable from wherever I installed it and can make a shortcut for it anywhere. I am looking for such insite with Linux. All help is much appreciated. Thanks in advance.
 
Old 10-22-2004, 12:09 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
"Generally" files are installed, or rather their binaries are installed to /bin /usr/bin or /usr/local/bin if they are to be able to be exected by a user (meaning it's not a super user application, such as useradd or fdisk). These directories are within what is known as your $PATH variable. If you open up a command line and type 'echo $PATH' without the ' marks, you'll reveal your $PATH variable.
To 'execute' a binary, if it's in your $PATH, you simply have to type the name of the binary, or create a symlink to a name easy to remember. So if firefox's binary is called 'ffox' and it's easier to remember firefox, you can create a symlink like so:
whereis ffox
And it will reveal the location within your $PATH of the ffox binary. From there, you can:
ln -sf /usr/bin/ffox /usr/bin/firefox
And from that point on, to execute ffox you can type either ffox or firefox.

HTH

Cool
 
Old 10-22-2004, 11:54 AM   #3
mojo
LQ Newbie
 
Registered: Oct 2004
Location: Las Vegas, NV
Distribution: Fedora Core 2 & RHEL 3
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks MasterC. Here is what happened when I did as you directed.

[root@localhost root]# whereis ffox
ffox:
[root@localhost root]# ln -sf /usr/bin/ffox /usr/bin/firefox
[root@localhost root]# firefox
bash: firefox: command not found
[root@localhost root]# ffox
bash: ffox: command not found

I then reran the installation with the installation directory of /bin/firefox. I then tried the commands again and the same result.

Here is my $PATH that shows /bin is indeed in my path so I should be able to launch ffox from the above commands.

[root@localhost root]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

Still does not launch.
 
Old 10-22-2004, 11:55 AM   #4
mojo
LQ Newbie
 
Registered: Oct 2004
Location: Las Vegas, NV
Distribution: Fedora Core 2 & RHEL 3
Posts: 7

Original Poster
Rep: Reputation: 0
I just drilled down into the /bin/firefox directory and found it empty. There are no errors during the installation though. What gives?
 
Old 10-22-2004, 12:14 PM   #5
Dobs01
LQ Newbie
 
Registered: Aug 2004
Location: Dublin, Ireland
Distribution: Mandrake 10
Posts: 28

Rep: Reputation: 15
I wondered the same thing. I found that "mozilla-firefox" did the trick for me. Have you tried that at the prompt?

Declan
 
Old 10-22-2004, 12:38 PM   #6
mojo
LQ Newbie
 
Registered: Oct 2004
Location: Las Vegas, NV
Distribution: Fedora Core 2 & RHEL 3
Posts: 7

Original Poster
Rep: Reputation: 0
I just tried mozilla-firefox in the terminal. Same blank response. Tried a whereis on the same and nothing came back.
 
Old 10-26-2004, 08:46 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I used ffox as an example, I am not sure the name of the executable for firefox...

Cool
 
Old 10-26-2004, 12:16 PM   #8
mojo
LQ Newbie
 
Registered: Oct 2004
Location: Las Vegas, NV
Distribution: Fedora Core 2 & RHEL 3
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the follow up help.

What is most wierd in this problem is that I can complete the installation without any message dialog of either an error or success but when I open the folder that was created as part of installation (i.e. /usr/bin/firefox) the folder is completely empty of any files.

I have downloaded the installables several times to confirm an accurate file for installation. Is it just my Win experience that makes me think there should be something in the target folder after installation? I mean, it creates the folder but puts nothing in it.

Thanks.
 
Old 10-27-2004, 02:44 AM   #9
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Are you sure it's a folder it's creating or is it a binary executable? Check:
file /usr/bin/firefox

And it will output what it is.

Cool
 
Old 11-02-2004, 11:10 AM   #10
mojo
LQ Newbie
 
Registered: Oct 2004
Location: Las Vegas, NV
Distribution: Fedora Core 2 & RHEL 3
Posts: 7

Original Poster
Rep: Reputation: 0
MasterC,

I did the installation again to the following path /usr/local/bin/firefox. It again completed in a split second. Browsing to the path I see the firefox directory where it should be and it reads 0 files. I then did "file /usr/bin/firefox" and the output said it was a directory. Still lost here.
 
Old 11-05-2004, 11:30 AM   #11
StephaneD
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
I just performed the same installation. Here is what I did:
Right click on gz file and click extract here
selected usr/bin/firefox from the popup dialog box
clicked on firefox-installer after it extracted
chose my installation options
it autostarted (you can also click on firefox from the directory)
 
  


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
Noob - General help needed plzz!!! Mmc245 Linux - General 3 03-08-2005 11:38 PM
Info needed on Linux in general Ansur Linux - Distributions 12 07-27-2004 04:20 AM
General- install an application ajbrouwe Linux - Software 3 07-22-2004 12:23 PM
General Linux Installation Help Needed macjono Linux - Newbie 4 02-02-2004 10:46 AM
Library Application Needed kmadhukar Linux - Software 1 05-05-2003 04:49 AM


All times are GMT -5. The time now is 08:45 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