SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
Probably a simple question, but linux is still new to me.
I downloaded the new version of firefox 2.0 to replace 1.5, but the download was just a tar.gz file. Extracting this gave me a firefox folder, but I cant find an obvious installer package. Any ideas?
Last edited by overlook1977; 06-03-2007 at 07:45 AM.
the file you download from Mozilla's site is a binary file, so no installer needed. Just make a new entry in the menu to point to that location and call firefox binary file. It will launch Firefox
OK, i directed the KDE shortcut to the actual path of the firefox script and this obviously works. Im thinking this wasnt the best way to do this however. Im still confused on why the original firefox shortcut didnt need a path. How did it know where the firefox shell script was located?
H_TeXMeX_H: Is their something special about the /usr/local/bin location where I would not need the full path to the file in the KDE shortcut?
OK thanks, will do. I guess I didnt understand what /usr/local/bin/ was for. It sounds like if you type a command without a path linux looks in this directory automatically.
OK I see whats happening. There is a symlink to the old firefox in /usr/bin. Thats what KDE is looking at when I tell it to just use 'firefox'.
H_TeXMeX_H: I think You meant "ln -s", not "ls -s".
Cool it works now, thanks everyone!
oops, sorry about that
If you want to know more, look in '/etc/profile', you'll see a line much like this:
Code:
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/home/drax/bin"
That's what I was talking about by $PATH. Yes, the system checks for executables in all these directories. So if you link it in there and run firefox, it will run it. Now, you shouldn't have more than one thing called firefox in any of these paths or this will get messy. That's why I said to uninstall the other firefox ... if you choose not to, you could still use the full paths to get around this issue. You could also make scripts called 'firefox' and 'firefox-old' then put those somewhere in $PATH, and they call the new and old FF.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.