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
A program to trace execution of another program jiten_hegde High Level Programming 3 08-19-2008 02:26 AM
Problems installing a program through Terminal in Mac OS X Sixmax UNIX for Dummies Questions & Answers 1 05-12-2008 08:52 AM
Problems installing a program in Terminal Sixmax Shell Programming and Scripting 4 04-10-2008 09:05 AM
Installing Firefox and now ended up installing latest glibc scriptingmani Linux 1 08-09-2007 01:28 PM
Installing a program! creative UNIX for Dummies Questions & Answers 1 12-25-2002 05:15 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-07-2005
Registered User
 

Join Date: Nov 2005
Posts: 2
Installing a program

Finished installing freebsd and just installed firefox from the ports collection.

Which file do I have to edit (and how) so a "firefox" command would launch it without having to type in the entire directory? =/

Also, I would appreciate it if you could point me towards any documentation about setup and configuration of freebsd/unix, besides the freebsd handbook.

Thanks.
Reply With Quote
Forum Sponsor
  #2  
Old 11-07-2005
vino's Avatar
Supporter (in vino veritas)
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,698
My OS is linux. Not a BSD'ish system.

Usually firefox should launch the browser firefox.

But it could thrown up the following error

Code:
sh-2.05b$ firefox
Cannot find mozilla runtime directory. Exiting.
The workaround I did was create an alias for firefox like this

Code:
alias firefox='/home/vino/firefox-installer/firefox-bin'
where firefox-installer is the installation directory for firefox.

Put that alias in your .bashrc or .bash_profile; whichever you use, so that you need not set the alias everytime.

Alternatively, you could do

Code:
vi `which firefox`
and look through the script and fix it inside that as well.

vino
Reply With Quote
  #3  
Old 11-07-2005
Registered User
 

Join Date: Nov 2005
Posts: 2
Thanks for your help. ^^
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:14 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