[PD] installing debs as user (was Re: install Pd on ubuntu without internet; video-playback codec windows?)

IOhannes m zmoelnig zmoelnig at iem.at
Wed Dec 7 09:57:29 CET 2011

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 at 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

Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20111207/f6cbdb76/attachment.bin>

More information about the Pd-list mailing list