2015-11-17 20:07 GMT+02:00 Reindl Harald <h.reindl(a)thelounge.net>:
depends on what the application is supposed to do and if you want a
global
setup instead only in the userhome for every user
installing in your userhome has another disadvantage: you are running all
day long a application writeable by your user and so there is a risk that
another arbitary process modifies it
installing the application as root is a one time risk but after that the
binaries are protected against modifying
Sure, there are also installers which really require root privileges
to function at all.
The writability of installed files by your normal user is easy to
address by e.g. this:
- make directory /opt/foo owned by alice
- have alice run the installer of foo, installing to /opt/foo
- chown -R root:root /opt/foo
- adjust system-wide default PATH to include /opt/foo/bin
Of course if you trust the installer to be well written and benign,
you might just as well not bother. But this is a fairly easy option.
- Joonas