3 ms·
That tool is really good to know about. I despise `sudo make install` because it can drop stuff anywhere, making it difficult to perform the inverse operation.
by ziml77 4y ago
That tool is really good to know about. I despise `sudo make install` because it can drop stuff anywhere, making it difficult to perform the inverse operation. You also always run the risk of conflicts with other applications. A package manager at best might bail out if it realizes it's going to clobber something it doesn't expect, but `sudo make install` on a different project is going to happily overwrite whatever it wants.
- rascul 4y ago> I despise `sudo make install` because it can drop stuff anywhere, making it difficult to perform the inverse operation. It can, but I can't recall seeing it install anything outside of $PREFIX in my usage. At least not in recent memory. Of course it depends on how the Makefile was written, but most things I deal with use GNU autotools which makes it easy to specify where things go in general. Also a number of Makefiles come with an uninstall target which can be handy.