The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 04:51 PM
running X-11 programs as root Allasso UNIX for Advanced & Expert Users 8 12-28-2007 03:22 PM
Installing Programs SeamusHC UNIX for Dummies Questions & Answers 2 11-13-2006 03:50 AM
running preinstalled programs jestra UNIX for Dummies Questions & Answers 2 02-13-2004 05:38 AM
Installing Programs In Linux kdelph UNIX for Dummies Questions & Answers 6 04-07-2001 11:51 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-01-2005
shep's Avatar
shep shep is offline
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.
  #2 (permalink)  
Old 12-05-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
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.
  #3 (permalink)  
Old 12-06-2005
shep's Avatar
shep shep is offline
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.
  #4 (permalink)  
Old 12-06-2005
dangral dangral is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2002
Posts: 698
Do this:
Code:
firefox &
  #5 (permalink)  
Old 12-06-2005
shep's Avatar
shep shep is offline
Registered User
  
 

Join Date: Nov 2005
Location: Scotland
Posts: 5
Thanks, folks.
I think i'm getting the hang of this Linux business...
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0