5 ms·
If you use checkinstall(1) it'll see what `sudo make install` would do, and create a local package that would do that (e.g. a deb on ubuntu). This package can t
by rmc 11y ago
If you use checkinstall(1) it'll see what `sudo make install` would do, and create a local package that would do that (e.g. a deb on ubuntu). This package can then be installed in the usual manner, which gives you uninstallability, transactionality, and ensures you don't overwrite any other files installed via a package. This is much better than curl|bash.
- Sean1708 11y agoCorrect me if I'm wrong but can't you also run arbitrary code while installing packages? Either way I'm not saying `curl | bash` is good, I'm just trying to point out that people have a very knee jerk reaction to it and pay no mind to things which are similarly as dangerous.
- rmc 11y agoYes, it runs arbitrary code. But checkinstall avoids other downsides from curl|bash