On Tue, 6 Dec 2011 14:29:31 -0500 (EST) Mathieu Bouchard matju@artengine.ca wrote:
Le 2011-12-06 à 19:51:00, IOhannes m zmoelnig a écrit :
$ dpkg -x pd.deb .
alternatively $ ar x pd.deb $ tar xvzf data.tar.gz
But dpkg -x doesn't run any scripts after unpacking, right ? At least, ar/tar does not run scripts for sure.
Most .deb packages require superuser permissions to install files into various places like /usr/bin, /etc or /usr/lib. Those are in the control file, use
$ dpkg -c pd.deb
to see all the places wheret content would be unpacked.
I think IOhannes refers to unpacking a Debian source package so you can do a local build (in home directory).
Source packages can be fetched using
$ apt-get source puredata
But then why not fetch the latest source from git/svn ?
Does the pd package contain any setup scripts ? But more generally, many packages do, and it would be good to know how to install them. E.g. if the pd package has any dependencies that aren't installed and that root doesn't want to install... there must be at least one of them that needs to run some kind of script ?
Have you tried stuff involving --admindir and/or --root but not -x ?
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC