Skip to content

Update source.md according to Filesystem Hierarchy Standard #2385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cretingame
Copy link

According to the Filesystem Hierarchy Standard (FHS), /usr/local is specifically intended for software manually installed by the system administrator (i.e., outside the distribution's package manager), which is the case for the clang + LLVM 17 tarball.

Why /usr/local is preferred over /usr

  • Avoids conflicts: /usr is reserved for distribution-managed software. Installing to /usr might overwrite files from system packages or be overwritten in future package updates.
  • Cleaner management: Tools like checkinstall or system backups can more easily identify "local" vs. "distro" files.
  • Conformance: Installing to /usr/local conforms to Unix and Linux conventions and best practices.

Copy link
Collaborator

@haifeng-jin haifeng-jin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not have a good idea on this. Please refer to the rest of the reviewers. Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants