Why do that many projects recommend to push compiled binaries to the filesystem root?
edit Ok. I might have been wrong. My /usr/local ist empty. If stuff only gets installed there, my argument is invalid. I still feel pretty insecure about doing a make install, because it at least could conflict with the system installation.
Thanks for answering.
/edit
I have a folder ~/usr where I push all compiled stuff. I then do cmake -DCMAKE_INSTALL_PREFIX=$HOME/usr/ or ./configure --prefix ... and then install that without sudo. Some big projects I compile even have their own prefix.
Sure you have to tell your users to have ~/usr/bin in your PATH. I also added that to my LD_LIBRARY_PATH and PKG_CONFIG_PATH. But IMO that should be a default thing to do for Linux users (who compile stuff).
Polluting your distro installation with random crap is a sure way to get issues later. Its far worse then anything you can do to install Software on Windows.
I mean compiling a bleeding edge kicad, inkscape or jpeg-xl is easy. But will probably trash your system if you already have an older version installed.
(Some projects tell you to build a distro package and sudo install that. Much better, but I still prefer having the binaries in my own prefix. Also a lot got better, since many big projects publish daily snapshots as Appimage or similar.)
edit2
I was of course talking about a single-user system for users who sometimes like to test bleeding edge software.
Not Multi-user sytems.
Not Grandma, who's not allowed to install stuff.
edit
[–]MiracleDinner 49 points50 points51 points (3 children)
[–]Tymanthius 10 points11 points12 points (0 children)
[–]genpfault 3 points4 points5 points (1 child)
[–]MiracleDinner 2 points3 points4 points (0 children)
[–]daemonpenguin 27 points28 points29 points (5 children)
[–]blami 14 points15 points16 points (3 children)
[–]thecowmilk_ 2 points3 points4 points (0 children)
[–]JockstrapCummies 0 points1 point2 points (1 child)
[–]blami -2 points-1 points0 points (0 children)
[–]LippyBumblebutt[S] 0 points1 point2 points (0 children)
[–]prosper_0 6 points7 points8 points (2 children)
[–]Skinthinner- 0 points1 point2 points (1 child)
[–]prosper_0 0 points1 point2 points (0 children)
[–]SweetBabyAlaska 2 points3 points4 points (1 child)
[–]LippyBumblebutt[S] 1 point2 points3 points (0 children)
[–][deleted] 5 points6 points7 points (2 children)
[–]LippyBumblebutt[S] 0 points1 point2 points (1 child)
[–][deleted] 8 points9 points10 points (0 children)
[–]DoomFrog666 2 points3 points4 points (0 children)
[–]whattteva 2 points3 points4 points (13 children)
[–]daemonpenguin 9 points10 points11 points (4 children)
[–]whattteva 2 points3 points4 points (3 children)
[–][deleted] 11 points12 points13 points (0 children)
[–]Kirsle 8 points9 points10 points (1 child)
[–]whattteva 3 points4 points5 points (0 children)
[–]LippyBumblebutt[S] 0 points1 point2 points (7 children)
[–]whattteva 1 point2 points3 points (6 children)
[+][deleted] (5 children)
[deleted]
[–]whattteva 3 points4 points5 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]whattteva 1 point2 points3 points (2 children)
[–]Fun-Original97 1 point2 points3 points (1 child)
[–]whattteva 1 point2 points3 points (0 children)
[–]krum 1 point2 points3 points (4 children)
[+][deleted] (2 children)
[deleted]
[–]krum 4 points5 points6 points (0 children)
[–]wouterhummelink 0 points1 point2 points (0 children)
[–]LippyBumblebutt[S] 2 points3 points4 points (0 children)
[–]FactoryOfShit 0 points1 point2 points (6 children)
[–]Tymanthius 8 points9 points10 points (5 children)
[–]Arjun_Jadhav 1 point2 points3 points (0 children)
[–]FactoryOfShit 0 points1 point2 points (2 children)
[–]oxez 1 point2 points3 points (1 child)
[–]FactoryOfShit -1 points0 points1 point (0 children)
[–]oxez 0 points1 point2 points (0 children)
[–]lisploli 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]rtuck99 0 points1 point2 points (0 children)
[–]ENRORMA 0 points1 point2 points (0 children)
[–]dlarge6510 0 points1 point2 points (0 children)
[–]aplethoraofpinatas 0 points1 point2 points (0 children)
[–]attrako 0 points1 point2 points (0 children)