The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
installing unix programs fissm UNIX for Dummies Questions & Answers 3 01-10-2008 01:51 PM
running X-11 programs as root Allasso UNIX for Advanced & Expert Users 8 12-28-2007 12:22 PM
Installing Programs SeamusHC UNIX for Dummies Questions & Answers 2 11-13-2006 12:50 AM
running preinstalled programs jestra UNIX for Dummies Questions & Answers 2 02-13-2004 02:38 AM
Installing Programs In Linux kdelph UNIX for Dummies Questions & Answers 6 04-07-2001 08:51 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-01-2005
shep's Avatar
Registered User
 

Join Date: Nov 2005
Location: Scotland
Posts: 5
installing/running programs.

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.
Reply With Quote
Forum Sponsor
  #2  
Old 12-04-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,698
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.
Reply With Quote
  #3  
Old 12-06-2005
shep's Avatar
Registered User
 

Join Date: Nov 2005
Location: Scotland
Posts: 5
I unzipped with tar -zxvf <filename> to the directory /usr/lib, checked that /usr/lib was in PATH with echo $PATH, and issued a 'firefox' command in terminal.
It runs, but I was just wondering if the terminal is supposed to 'hang', that is, should i be able to use the same terminal for other commands as it doesn't give me a new user prompt - I have to open a new terminal tab to do anything else.
Reply With Quote
  #4  
Old 12-06-2005
Registered User
 

Join Date: Oct 2002
Posts: 676
Do this:
Code:
firefox &
Reply With Quote
  #5  
Old 12-06-2005
shep's Avatar
Registered User
 

Join Date: Nov 2005
Location: Scotland
Posts: 5
Thanks, folks.
I think i'm getting the hang of this Linux business...
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 01:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0