LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-10-2005, 03:00 AM   #1
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Rep: Reputation: 30
just installed firefox, but i don't know how to run it


well, its running right now, cause i installed it, but i have no idea of how to execute it from the console.

im such a newbie...
 
Old 02-10-2005, 03:18 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
if it's in your PATH run..

firefox

in the console.
 
Old 02-10-2005, 03:32 AM   #3
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Original Poster
Rep: Reputation: 30
still confused

dude if for example, my firefox is in the directory
/opt/Firefox/

what command do i do?
 
Old 02-10-2005, 03:41 AM   #4
JSpired
Member
 
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565

Rep: Reputation: 30
Edit: Sorry, wrong thread.

Last edited by JSpired; 02-10-2005 at 03:43 AM.
 
Old 02-10-2005, 03:45 AM   #5
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
$/opt/Firefox/firefox
You can also create a link to it on your desktop or menu.
 
Old 02-10-2005, 04:02 AM   #6
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Do this...

Move Firefox to /usr/local/include

mv /opt/Firefox/ /usr/local/include

then make a symbolic link to your /usr/local/bin

ln -s /usr/local/include/Firefox/firefox /usr/local/bin

and run..

firefox

in the console and it'll run firefox for you because it's now in your PATH.

you could insert the symbolic link from your /opt directory, but most people put there programs in /usr/local/include.
 
Old 02-10-2005, 04:15 AM   #7
salviadud
Member
 
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186

Original Poster
Rep: Reputation: 30
thanx guys

i just put a link on the kde panel thingy... that works for me...
 
Old 02-10-2005, 04:35 AM   #8
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438

Rep: Reputation: 30
Linux~Powered... Why would you want to move any application to /usr/local/include?

The "include" directories (in /usr and /usr/local) are for application libraries (although, yes, it would still work) - It is better to install apps to /usr/local (i.e. /usr/local/Firefox) or /opt (i.e. /opt/Firefox) -- Well that's my thoughts anywho...

salviadud Glad ya got it working
 
Old 02-10-2005, 12:27 PM   #9
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Quote:
Linux~Powered... Why would you want to move any application to /usr/local/include?
Ha, your right! I don't even remember typing in the */include ? I keep all my 3rd party applications in /usr/local. I must of had a really bad smelly brain fart! Thanks for pointing that one out.
 
Old 02-10-2005, 12:32 PM   #10
DumbTerminal
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Rep: Reputation: 15
Quote:
Originally posted by Linux~Powered
Do this...

Move Firefox to /usr/local/include

mv /opt/Firefox/ /usr/local/include

then make a symbolic link to your /usr/local/bin

ln -s /usr/local/include/Firefox/firefox /usr/local/bin

and run..

firefox

in the console and it'll run firefox for you because it's now in your PATH.

you could insert the symbolic link from your /opt directory, but most people put there programs in /usr/local/include.
I just did that with mine, only I moved it to the /usr/local, not the /include directory.
Mine doesn't run when typing firefox in the run command.
Also, more importantly,how do you put a shortcut to it on the desktop?
I'm running SuSE 9.0
I'm a Linux noob and will have to have my hand held.
Thanks in advance!!
 
Old 02-10-2005, 12:36 PM   #11
DumbTerminal
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Rep: Reputation: 15
Quote:
Originally posted by DumbTerminal
I just did that with mine, only I moved it to the /usr/local, not the /include directory.
Mine doesn't run when typing firefox in the run command.
Also, more importantly,how do you put a shortcut to it on the desktop?
I'm running SuSE 9.0
I'm a Linux noob and will have to have my hand held.
Thanks in advance!!
errrraaa...
I ran it from the location, set up the import settings, set it as my default browser, and now it works from the run command
I'd still like to know how to make it a desktop shortcut
 
Old 02-10-2005, 12:37 PM   #12
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
While in /usr/local/bin do..

ln -s /usr/local/Firefox/firefox /usr/local/bin/

If "Firefox" is the name of the directory. By default it's "firefox-installer". I re-named mine because it looks prettier that way.

*edit*

Ha, I f-ed it up again! changed from ln -l to ln -s

Last edited by Linux~Powered; 02-10-2005 at 12:43 PM.
 
Old 02-10-2005, 12:41 PM   #13
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
Quote:
I'd still like to know how to make it a desktop shortcut
What window enviorment are you using? In Gnome you just left click the mouse over the pannel then Add to pannel --> Launcher and fill in the blanks.
 
Old 02-10-2005, 12:45 PM   #14
DumbTerminal
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Rep: Reputation: 15
Quote:
Originally posted by Linux~Powered
What window enviorment are you using? In Gnome you just left click the mouse over the pannel then Add to pannel --> Launcher and fill in the blanks.
I'm using KDE
It has similar preferences, but I don't see firefox anywhere handy
I'll keep looking.
Anything to get rid of the evil that is known as Konqueror
 
Old 02-10-2005, 12:47 PM   #15
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 53
Personally i used /usr/local/lib/firefox to install firefox, since mozilla is installed in /usr/lib/mozilla.
But people in "linux packages" have created a very nice slackware package for firefox, so just download this:http://www.linuxpackages.net/pkg_details.php?id=3216
and install it with:
Code:
installpkg firefox-*.tgz
. It will be installed in /usr/lib/mozilla-firefox.
I don't see why not use a slackware package, since you use a precompiled version. Unless you have downloaded the 30MB of source and compiled it by yourself.

*Edit*
The only problem is that the executable is /usr/bin/mozilla-firefox and not firefox, but a soft link can easy solve this.


Last edited by perfect_circle; 02-10-2005 at 12:51 PM.
 
  


Reply



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
Can active X be installed on firefox? TechSonic Linux - Newbie 5 04-26-2005 04:46 AM
Got firefox installed still need help orion446 Linux - Software 5 01-17-2005 01:45 PM
Why won't Firefox run after I've installed it? NSFrankenstein Linux - Software 5 09-15-2004 11:13 AM
so, i installed firefox,,, um where did it go? Zieroth Linux - Software 23 07-14-2004 09:09 PM
Dumb newbie issue: firefox-0.8 cant run after installed... michelbehr Linux - Software 16 03-30-2004 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 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