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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-30-2004, 10:08 PM
|
#1
|
LQ Newbie
Registered: Sep 2003
Posts: 8
Rep:
|
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
|
|
|
11-30-2004, 10:09 PM
|
#2
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
firefox-installer
|
|
|
11-30-2004, 10:14 PM
|
#3
|
LQ Newbie
Registered: Sep 2003
Posts: 8
Original Poster
Rep:
|
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)
|
|
|
11-30-2004, 10:19 PM
|
#4
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
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
|
|
|
11-30-2004, 10:45 PM
|
#5
|
LQ Newbie
Registered: Sep 2003
Posts: 8
Original Poster
Rep:
|
BINGO! I love you guys....thanks.
clok
|
|
|
11-30-2004, 10:52 PM
|
#6
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
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)
|
|
|
12-01-2004, 01:02 AM
|
#7
|
LQ Newbie
Registered: Sep 2003
Posts: 8
Original Poster
Rep:
|
good info...thanks again
|
|
|
12-01-2004, 01:08 AM
|
#8
|
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545
Rep:
|
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

|
|
|
12-01-2004, 07:30 AM
|
#9
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
or simply /path/to/firefox
or in your ~/.bashrc
alias firefox=/path/to/firefox
|
|
|
All times are GMT -5. The time now is 05:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|