3 ms·
I basically want what you mentioned later but also available to other users. Home folder installation only works when you A) only want to install for a user B)
by zaarn 9y ago
I basically want what you mentioned later but also available to other users.
Home folder installation only works when you A) only want to install for a user B) the user you run under exists on disk and has a home folder and C) the user can be setup to perform updates.
A lot of the time I run tools that will run as a service. The user it runs under might not have a home folder, probably not even a login or shell. I still need access to the tool installed as root and as normal user for maintenance.
So ideally, I add the path into /etc/profile and install the stuff into /usr/local/node/bin where it is perfectly isolated from the rest of the system.