Installing to your home drive
Installing to your home drive
Posted Feb 22, 2011 18:15 UTC (Tue) by nye (subscriber, #51576)In reply to: Installing to your home drive by pflugstad
Parent article: Optimizing Linux with cheap flash drives
Posted Feb 23, 2011 5:45 UTC (Wed)
by idupree (guest, #71169)
[Link] (3 responses)
Options I've heard of & played with: GoboLinux's "Rootless" project is a system for installing from source in your home directory (on any distro). ZeroInstall I believe does source and binary (not sure how it manages binary) without root privileges. Some NixOS research has looked into rewriting the paths in compiled packages (though not changing its total-number-of-characters length).
Posted Feb 23, 2011 9:34 UTC (Wed)
by nix (subscriber, #2304)
[Link]
Posted Feb 23, 2011 19:08 UTC (Wed)
by talex (guest, #19139)
[Link] (1 responses)
In my experience (0install developer), a surprising number of programs are relocatable:
Posted Feb 23, 2011 22:36 UTC (Wed)
by nix (subscriber, #2304)
[Link]
Installing to your home drive
Installing to your home drive
Installing to your home drive
ZeroInstall I believe does source and binary (not sure how it manages binary) without root privileges.
There were a few suggestions for supporting non-relocatable programs (e.g. using Plash to adjust paths at runtime, Klik-style binary rewriting, etc) but there don't seem to be many programs that need it these days.
Installing to your home drive
Libraries always seem to be relocatable (not sure why this is; maybe to allow them to be bundled with other relocatable programs?).
That is definitely not always true. The KDE3 libraries, for instance, were not relocatable: they had $datadir and $libdir/kde3 baked into them. (I think the same is true of glib and gtk as well.)