LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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


Reply
  Search this Thread
Old 08-15-2004, 12:28 AM   #1
Louis_Carole
Member
 
Registered: Feb 2004
Location: Oxford, OH
Distribution: LFS 5.1.1, Slackware 9.1
Posts: 94

Rep: Reputation: 15
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
 
Old 08-15-2004, 12:51 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
/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.
Old 08-16-2004, 12:27 AM   #3
waever
Member
 
Registered: Oct 2003
Location: Hamilton,ON
Distribution: LFS
Posts: 46

Rep: Reputation: 16
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.
Old 08-21-2004, 04:48 PM   #4
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
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.
Old 08-23-2004, 07:55 AM   #5
MikeZila
Member
 
Registered: Jul 2004
Location: Parts Unknown
Distribution: Arch
Posts: 377

Rep: Reputation: 30
I don't see why it matters. It just one more directory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Starting httpd: /usr/sbin/httpd: symbol lookup error: /usr/local/lib/libaprutil-0.so. bijuhpd Linux - Newbie 1 10-30-2005 05:07 PM
/usr vs /usr/local on linuxpackages.net merchtemeagle Slackware 4 10-18-2005 03:09 PM
path in services wrong for clamav updated frm 0.75 to 0.80 usr/bin vs usr/local/bin Emmanuel_uk Linux - Newbie 3 04-22-2005 01:02 AM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM
Difference between /usr/ and /usr/local/ ? MDesigner Linux - Newbie 7 07-04-2004 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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