LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-17-2013, 11:50 AM   #1
Dornith
Member
 
Registered: Jul 2012
Location: U.S.A
Distribution: Archlinux Multilib, Debian 7.0.0 32b
Posts: 153

Rep: Reputation: Disabled
What's the point of having /usr/local on it's own partition?


This is one of the partitions I see in almost every partitioning guide and I don't get it. Why would you have than any any partition other than the one /usr is on? The only thought I've had is that since it's using binaries compiled on your computer, it might be more tuned to your computer than your OS so when you switch distros it would still work (provided nessisary libraries.) Other than that, I'm lost.
 
Old 02-17-2013, 12:06 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,411
Blog Entries: 2

Rep: Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995Reputation: 3995
Usually /usr/local contains self compiled binaries, as you say. If you forever reason have to re-install the OS (not a different OS) it may be convenient to not have to recompile your programs. Of course, if you make proper packages of the software you want to install and backup those packages this is not needed, also not if you have backups of the /usr/local directory or just don't compile software.
 
1 members found this post helpful.
Old 02-17-2013, 12:52 PM   #3
GazL
Senior Member
 
Registered: May 2008
Posts: 3,322

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
A separate /usr/local makes more sense on the traditional commercial UNIX OSes where one may have good reason to isolate additional 3rd party software from the Vendor supplied stuff. On your average linux distro, most software is packaged to go directly into /usr and /usr/local doesn't serve quite the same purpose.

Personally, I just use /usr/local for my own locally written scripts/programs and anything from 3rd parties either goes in /usr (under control of the package management) or into /opt.

I guess the reason it gets suggested so often is pretty much the same as the reason people tell you to have swap of 2x RAM: they heard it somewhere and are just parroting what they've heard.
 
2 members found this post helpful.
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr vs /usr/local (& /opt) when describing non system software (debate welcomed) Alpha90 Linux - Software 2 07-07-2012 03:22 AM
/usr/local/lib or /usr/local/lib64 rigelan Slackware 9 07-24-2009 06:32 PM
/usr/local partition hank43 Linux - Newbie 9 01-04-2007 07:39 AM
making files available in /usr/local/bin and /usr/sbin reakinator Linux - Newbie 1 10-14-2006 05:09 PM
Installing software, /usr/lib directory and /usr/local millertime Linux - Software 2 07-10-2004 09:21 AM


All times are GMT -5. The time now is 05:16 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration