What does /opt mean in a filepath?
Sophia Terry
I see so many file paths that have /opt in them from example code. Like this one:
:staticfiles => "/opt/example/apps/example/static/"
I would understand if it were something like home, but I don't know of any directory named opt.
What does it mean? Is it short for option or something? If it were home, since I'm on a Mac, I'd just change it to Users, but now I'm lost.
1 Answer
According to THIS page, and this one HERE, /opt is a directory reserved for
Optional application software packages.
This means that if you were to install any application or package that doesn't come with the operating system itself, it should be installed somewhere in this directory.
This applies for most UNIX or UNIX-like operating systems, including Max OS X.
2