3 ms·
It's "locally managed". Under, say, Debian Policy, a Debian package may create directories under /usr/local, but it may not create files, or delete either file
by dredmorbius 15y ago
It's "locally managed". Under, say, Debian Policy, a Debian package may create directories under /usr/local, but it may not create files, or delete either files or directories. Which means that the local administrator can add/remove software here.
/opt is another directory that's generally intended for third-party software. So, say, you'll find /opt/oracle/, /opt/dell/, /opt/google/, /opt/ibm/, etc., in which various enterprise tools go. There's no reason for space rationalization you can't move this to /usr/local/opt and symlink back up to the root filesystem, as some prefer and I generally do.
Where things get confusing is when you're on, say, an Mac and install software from the DarwinPorts project, which creates a managed tree ... under /usr/local. This strikes me as somehow wrong (/opt/darwinports/ would be a better choice IMO).
http://www.debian.org/doc/debian-policy/ http://www.debian.org/doc/debian-policy/