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

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

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
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
  #3 (permalink)  
Old 11-07-2005
ImperialPanda ImperialPanda is offline
Registered User
  
 

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


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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