LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-30-2004, 10:08 PM   #1
clokwurk
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Rep: Reputation: 0
Firefox and Command line


i'm new so be gentle....

I'm trying NOT to be GUI dependent...more proficient with command line...

I downloaded and installed Firefox but cannot execute via command line:

[baba@192 firefox-installer]$ ls
browserconfig.properties install.ini libxpcom.so*
chrome/ install.log libxpistub.so*
components/ libmozjs.so* license.txt
config.ini libnspr4.so* mozilla-xremote-client*
defaults/ libnss3.so* plugins/
extensions/ libnssckbi.so* registry
firefox* libplc4.so* res/
firefox-bin* libplds4.so* run-mozilla.sh*
firefox-installer* libsmime3.so* searchplugins/
firefox-installer-bin* libsoftokn3.chk watermark.png
greprefs/ libsoftokn3.so* xpi/
header.png libssl3.so* xpicleanup*
icons/ libxpcom_compat.so*
[baba@192 firefox-installer]$ firefox
bash: firefox: command not found


ALSO, if anyone can point me towards a good guide for
installation of vanilla progs. (NOT rpm avenue) I would be
very appreciative.

As much as I've searched...i find the guides I have lacking significantly,
not answering many questions I think are elemetary.


thanks in advance,

clok
 
Old 11-30-2004, 10:09 PM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
firefox-installer
 
Old 11-30-2004, 10:14 PM   #3
clokwurk
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
i've installed already.

I'm simply trying to bring up the browser via command line.

"firefox-installer" does not do this

(thanks for the fast response though)
 
Old 11-30-2004, 10:19 PM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
well... when you installed it, where did you choose to install it to?

let's say you installed it to /usr/shared/firefox/
(though i doubt you did, let's just pretend)

so now, i'll assume if you do
Code:
ls /usr/shared/firefox/
that you'll see the actual firefox executable... that means you're halfway there...

step 2 is making it available by the command 'firefox'
as root, given our pretend setup thus far, you would now do:
Code:
ln -s /usr/shared/firefox/firefox /usr/bin/firefox
easy, huh? see... console ain't that tough... great job on wanting to learn your system, rather than redhat's version of your system; kudos
 
Old 11-30-2004, 10:45 PM   #5
clokwurk
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
BINGO! I love you guys....thanks.


clok
 
Old 11-30-2004, 10:52 PM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
yay!

see.. you just gotta get the basics....

look, in your free time, peruse this: rute

here's what we did:
/usr/bin is in your path -- an environment variable which houses a list of directories where commands can be found

to see what else is in there, try echo $PATH

and symbolic link -- think windows shortcut, but way better. (the ln -s thing)
 
Old 12-01-2004, 01:02 AM   #7
clokwurk
LQ Newbie
 
Registered: Sep 2003
Posts: 8

Original Poster
Rep: Reputation: 0
good info...thanks again
 
Old 12-01-2004, 01:08 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Another tip, what you did there was create a symlink as secesh said but if you want to run an executable file from where it stands, you would've done this.
Code:
# cd /path/to/firefox
# ./firefox
 
Old 12-01-2004, 07:30 AM   #9
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
or simply /path/to/firefox

or in your ~/.bashrc
alias firefox=/path/to/firefox
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 07:19 PM
How do you launch Mozilla Firefox from the command line ? pppaaarrrkkk Linux - Newbie 1 10-07-2005 02:06 PM
command line options for firefox for shell scripting. dr_zayus69 Programming 1 05-25-2005 11:36 AM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 07:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration