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 |
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.
|
 |
|
02-10-2005, 03:00 AM
|
#1
|
Member
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186
Rep:
|
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...
|
|
|
02-10-2005, 03:18 AM
|
#2
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
if it's in your PATH run..
firefox
in the console.
|
|
|
02-10-2005, 03:32 AM
|
#3
|
Member
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186
Original Poster
Rep:
|
still confused
dude if for example, my firefox is in the directory
/opt/Firefox/
what command do i do?
|
|
|
02-10-2005, 03:41 AM
|
#4
|
Member
Registered: Sep 2003
Distribution: Slackware, Suse 9.2
Posts: 565
Rep:
|
Edit: Sorry, wrong thread.
Last edited by JSpired; 02-10-2005 at 03:43 AM.
|
|
|
02-10-2005, 03:45 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
$/opt/Firefox/firefox
You can also create a link to it on your desktop or menu.
|
|
|
02-10-2005, 04:02 AM
|
#6
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
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.
|
|
|
02-10-2005, 04:15 AM
|
#7
|
Member
Registered: Feb 2005
Location: Mexico
Distribution: Gentoo - kernel 4.1.5
Posts: 186
Original Poster
Rep:
|
thanx guys
i just put a link on the kde panel thingy... that works for me...
|
|
|
02-10-2005, 04:35 AM
|
#8
|
Member
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 438
Rep:
|
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 
|
|
|
02-10-2005, 12:27 PM
|
#9
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
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.
|
|
|
02-10-2005, 12:32 PM
|
#10
|
LQ Newbie
Registered: Feb 2005
Posts: 22
Rep:
|
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!!
|
|
|
02-10-2005, 12:36 PM
|
#11
|
LQ Newbie
Registered: Feb 2005
Posts: 22
Rep:
|
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
|
|
|
02-10-2005, 12:37 PM
|
#12
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
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.
|
|
|
02-10-2005, 12:41 PM
|
#13
|
Member
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849
Rep:
|
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.
|
|
|
02-10-2005, 12:45 PM
|
#14
|
LQ Newbie
Registered: Feb 2005
Posts: 22
Rep:
|
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
|
|
|
02-10-2005, 12:47 PM
|
#15
|
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:45 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
|
|