21 Jun
2017
21 Jun
'17
2:35 a.m.
On 19/06/2017 06:50, Andrey Semashev wrote:
`make install` into system directories and similar commands are indeed discouraged (at least, on Linux) because there is typically no `make uninstall`. You can install into a separate subtree though, with the assumption that you can safely delete it afterwards.
autoconf has supported "make uninstall" forever (or sufficiently close to it). Most autoconf "replacements" haven't bothered. But these typically install into separate directories from the package-managed directories anyway (/usr/local/* rather than /usr/*), so they're not hard to get rid of again, as long as developers don't do dumb things. (Which is by no means guaranteed, of course.)