FG
💻 Software

/usr/local or /opt?

Fresh5 days ago
Mar 15, 202630012 views
Confidence Score1%
1%

Problem

How do you generally proceed for your package installations on Linux, for packages that are not part of your distrib's repos? On my side I am used to install in /opt. But since, I saw this doc on the Internet: http://www.pathname.com/fhs/. Now I am confused: apparently /usr/local would be also a possibility. What is the difference between both? Any best practices to share? Thanks SirFabel

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: /usr/local or /opt?

Low Risk

Everything that has to be compiled & installed Unix-style and complies to FHS -> Everything else (e.g. a java web-application that comes with it's own applicationserver and loads of resources in a zip archive ->

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment