The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 12-05-2005
vino's Avatar
vino vino is online now Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
Quote:
Originally Posted by shep
Hey folks, i'm a total newbie at linux (only installed it yesterday) so don't be mad at me for querying this. I downloaded firefox, and unpacked the library files and binaries into /usr/lib/firefox. Now, am I correct in thinking that to run it, I need to enter the 'sh /usr/lib/firefox' command into the terminal? (cos it's working right now)

If so, is there any way that I can add a command to my shell profile so that I don't need to enter it every time I want to start a program.

If i'm way off here, could someone enlighten me with the correct procedure for installing and running programs in linux.

(i'm running RedHat 9 by the way and would rather learn how to do it properly instead of taking the rpm route)

thanks,
Shep.
You mentioned that you unpacked the whole thing into /usr/lib/firefox

I guess you must have done an rpm install. If not, what did you do ?


You dont need to do sh /usr/lib/firefox to run firefox. Issuing a firefox is more than enough. Provided, you have /usr/lib in your path. It is the same as issuing a mozilla. It (usually) picks up /usr/bin/mozilla and runs the script and later invokes another executable. Same should be the case with the firefox as well.