Custom installation directories

Posted by Alex Farber on Stack Overflow See other posts from Stack Overflow or by Alex Farber
Published on 2010-03-16T12:32:43Z Indexed on 2010/03/16 12:36 UTC
Read the original article Hit count: 325

Filed under:
|
|
|

Let's say I am writing installation script for the program which contains executable file and shared library. By default, this script places executable to /usr/local/bin, and shared library to /usr/local/lib. In this case my program may be executed by any user by typing its name in the command line.

Suppose that user selects custom installation directory, like ~/myprogram/. Is it user's responsibility to ensure that my program may be executed, or my installation script must do this?

© Stack Overflow or respective owner

Related posts about linux

Related posts about unix