-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-12-06 22:53, Mathieu Bouchard wrote:
Le 2011-12-06 à 20:06:00, Andy Farnell a écrit :
On Tue, 6 Dec 2011 14:29:31 -0500 (EST) Mathieu Bouchard matju@artengine.ca wrote:
I think IOhannes refers to unpacking a Debian source package so you can do a local build (in home directory).
I think *I* was asking about binary packages. Well, I only assumed we were talking about binary packages. I don't know why we would be talking about source packages at all, at this point !
i was talking about binary packages as well. maybe i missed some point though.
if you are asking how to _properly_ install a package without root priviliges, then i believe that this is impossible, given that the very nature of "properly" installing a package means writing to parts of the disk where unproviliged users are not allowed to write to. that's by design.
anyhow, in my personal experience not many packages will actually execute any scripts in the pre-/postinstall process; e.g. of the 3600 packages installed on my system, only 1800 come with a postinst script. of those, at least 900 are virtually the same and only call "ldconfig" (after installing a library).
if the package in question indeed contains a preinst/postinst script, you can extract that with $ ar x pd.deb $ tar xvzf control.tar.gz $ ls postinst
fgmasdr IOhannes