Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

What does /opt mean in a filepath?

Writer 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.

3

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy