Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set install path using dpkg

Tags:

debian

dpkg

I'd like to install some deb package dpkg -i modeller_9.13-1_amd64.deb

consisted of some python modules. What frag should I provide to dpkg to set the install path during installation instead of default dir (on default to python dir(?

Thanks for help,

Gleb

like image 417
user3470313 Avatar asked Apr 15 '14 07:04

user3470313


Video Answer


1 Answers

dpkg-deb -x $DEBFILE $TARGET_DIRECTORY

or if you don't have any debian tools at hand

ar p $DEBFILE data.tar.gz | tar -C $TARGET_DIRECTORY -xz

With more recent packages it might be data.tar.xz or something else though.

like image 65
Helmut Grohne Avatar answered Oct 17 '22 05:10

Helmut Grohne