Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system. |
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.
|
 |
08-15-2004, 12:28 AM
|
#1
|
Member
Registered: Feb 2004
Location: Oxford, OH
Distribution: LFS 5.1.1, Slackware 9.1
Posts: 94
Rep:
|
What's /usr/local for, anyway?
Dear All,
I got annoyed with so-and-so going in /usr/lib and such-and-such going in /usr/local/lib, so I rashly decided to mv everything from /usr/local to their corresponding /usr directories, and made /usr/local a symlink to /usr. I might have lost some man pages along the way, but everything (LFS plus XFree86) seems copacetic. Should I be flogged for breaking some hierarchy norm? Will something soon go BOING and panic my kernel? Or better yet, is there something else I could have done to help everybody -- er, every ./configure - find the prerequisites they are looking for, without having indulged my nihilistic streak?
Thanks - Ben
|
|
|
08-15-2004, 12:51 AM
|
#2
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
/usr/local is usually reserved for those packages not installed by root user. If it were me, I'd leave the actual directory there not making a symlink. Some packages might compile to use it, some might not, most of the time it will install there when your not root though. Don't think it will create any problems though, only when you install something it might not like it, etc.
|
|
1 members found this post helpful.
|
08-16-2004, 12:27 AM
|
#3
|
Member
Registered: Oct 2003
Location: Hamilton,ON
Distribution: LFS
Posts: 46
Rep:
|
what about using /usr/local as a substitute of /opt
This way you can make the whole /usr as a separate partition.
|
|
1 members found this post helpful.
|
08-21-2004, 04:48 PM
|
#4
|
Member
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227
Rep:
|
I've actually avoided using /usr/local (doesn't even exist on my machine), just so I can cut down on the number of directories I have to have. Of course this is a single user and single Linux machine so it doesn't need anything to keep programs in one place for multiple machines or operating systems.
Here's a debate about /usr/local:
http://lfs.osuosl.org/blfs/view/cvs/.../position.html
|
|
1 members found this post helpful.
|
08-23-2004, 07:55 AM
|
#5
|
Member
Registered: Jul 2004
Location: Parts Unknown
Distribution: Arch
Posts: 377
Rep:
|
I don't see why it matters. It just one more directory.
|
|
|
All times are GMT -5. The time now is 07:14 PM.
|
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
|
|