Installing to your home drive
Posted Feb 23, 2011 19:08 UTC (Wed) by talex
In reply to: Installing to your home drive
Parent article: Optimizing Linux with cheap flash drives
ZeroInstall I believe does source and binary (not sure how it manages binary) without root privileges.
In my experience (0install developer), a surprising number of programs are relocatable:
- Anything that's been ported to Windows or Mac will be relocatable.
- Anything that encourages non-technical end-users to download beta versions will be relocatable.
- Things written in languages with built-in string concatenation (i.e. anything except C) are usually relocatable.
- Libraries always seem to be relocatable (not sure why this is; maybe to allow them to be bundled with other relocatable programs?).
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.
to post comments)