Installing a program


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Installing a program
# 1  
Old 11-07-2005
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  
Old 11-07-2005
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  
Old 11-07-2005
Thanks for your help. ^^
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

erro while installing new program

Hi, I am using ubuntu 12.04 and everytime I installed a new program I get except from the error message I have no problem. I mean it does install the progrm, and I can use it. but still everytime I installed a program I get that error message, what is the reason for this? (3 Replies)
Discussion started by: programAngel
3 Replies

2. Homework & Coursework Questions

Calling compiled C program with Perl program

Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies

3. UNIX for Dummies Questions & Answers

Installing a Program called MAQ (Beginner Here)

Basically, I'm trying to install this program called MAQ. Maq User's Manual I've downloaded it and I tried to type in $ ./configure; make; make install but the ouput I got was this: bash: ./configure: No such file or directory make: Entering directory `/home/vlay/bwa-0.5.0' make:... (8 Replies)
Discussion started by: vlay2
8 Replies

4. Solaris

Installing a new text editor program on Solaris

I have installed a new text editor program on Solaris and now the only way to open it is via the command line (is that correct) So is there a way to like for example add an icon on the cde main menu so as like just click it and the program opens I am running Solaris 9 I am still a... (4 Replies)
Discussion started by: Theeb
4 Replies

5. Ubuntu

Re Installing windows XP after installing KUBUNTU

Hi I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation. Thanks Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies

6. UNIX for Dummies Questions & Answers

Script to open program and send/execute command in program

Hi, i want to write a script that executes a program (exec?) . this program then requires a filename as input. how do i give it this input in the script so the program will be complete run and close by the script. e.g. exec prog.exe program then asks for filename "enter filename:"... (1 Reply)
Discussion started by: tuathan
1 Replies

7. UNIX for Dummies Questions & Answers

Problems installing a program through Terminal in Mac OS X

Hey all.. I have a problem with the BitTorrent client called Deluge. (Deluge BitTorrent Client). Followed the guide on their homepage, but can't get it to work. First of all I have installed Xcode Tools 3.0 and MacPorts. I did the "sudo port install deluge" command, and all packages seemed to... (1 Reply)
Discussion started by: Sixmax
1 Replies

8. Shell Programming and Scripting

Problems installing a program in Terminal

Hey First of all: I'm on a Mac. I'm quite new to this, so forgive me if i sound like a newb :-) I wish to install the Deluge BitTorrent client. First of all I installed Macports and made it run smooth. But then I ran into a problem when I should install Deluge. I can post the log, and maybe... (4 Replies)
Discussion started by: Sixmax
4 Replies

9. Linux

Installing Firefox and now ended up installing latest glibc

Hi all, I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies

10. UNIX for Dummies Questions & Answers

Installing a program!

Hello, I have downloaded the GCC program version 2.95 and I don't know how to install it! Of course it has a folder called install and there are some files. So please help me to install this program. :) I use Red hat Linux version 8.0 Thank you Creative ;) (1 Reply)
Discussion started by: creative
1 Replies
Login or Register to Ask a Question