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.
|
 |
07-14-2003, 08:09 AM
|
#1
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Rep:
|
Finding program paths
What's the recognised way of installing software to be picked up in the default path?
I've installed Mozilla 1.4 in /usr/local/mozilla - should I add /usr/local/mozilla to my path, or (as I presume) should I create a link to the executable in another directory that's already in my path? If so where? An example would be really helpfull(;-))
Dave
|
|
|
07-14-2003, 08:13 AM
|
#2
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
Actually, Mozilla should install to a location in your PATH. However, out of the choices you've given, I'd have to go with a symlink approach. So first, find out what locations are in your PATH:
echo $PATH
Do this as a user. Then, as root, type:
ln -sf /usr/local/mozilla /usr/bin
Assuming /usr/local/mozilla is the executable mozilla file and /usr/bin shows up as being in your PATH.
But again, Mozilla should already be in your PATH, try a:
whereis mozilla
To find out.
Cool
|
|
|
07-14-2003, 08:23 AM
|
#3
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Original Poster
Rep:
|
Thanks again, masterc. Concise, helpfull rapid response.
Dave
|
|
|
07-14-2003, 08:30 AM
|
#4
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
You're welcome, did you get it sorted out and is it working?
Cool
|
|
|
07-14-2003, 09:17 AM
|
#5
|
Member
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263
Original Poster
Rep:
|
Yes!
It's amazing how many small things like this you come across when learning something new - this forum, and the people behind it, are a godsend.
I'm looking at linux as a viable alternative to windows for desktop users - I'm about 90% there. I couldn't have done as much as I have without linuxquestions.org - hopefully, soon, I'll be able to put more back in...
Dave
|
|
|
All times are GMT -5. The time now is 08:06 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
|
|