Home » Questions » Computers [ Ask a new question ]

Unix: Location to save install executable files

Unix: Location to save install executable files

Is there any place that people used to save installer/ executable files/ gz files which download from source website? Could we discuss 2 cases: login as root or as regular user?

Asked by: Guest | Views: 202
Total answers/comments: 2
Guest [Entry]

"I put them in /usr/local/src, though it is rare to find anything distributed in only that way any more.

Reasoning:

There are a local rather than system adddition, so somewhere under /usr/local or /opt according to your preference or you OS's convention.
In generally you wouldn't want the installers on the usual $PATH so not bin.
They are related to building/installing stuff,

If doing it in a user space, I'd user $HOME/src for similar reasons."
Guest [Entry]

"I have a /files directory created which has several directories inside it such as movies, pictures, downloads, source.

This is what I use as both root and user. /files is owned by the user root and group 'userfiles'. Every user that needs access to it is made a member of 'userfiles'"