LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dpkg configure howto (https://www.linuxquestions.org/questions/linux-software-2/dpkg-configure-howto-419973/)

inaki 02-27-2006 03:03 AM

dpkg configure howto
 
I've use dpkg to install debian package. But the problem is howto configure debian package to meet with our requirement

heema 02-27-2006 06:01 AM

whats the package thats your trying to configure ??

nx5000 02-27-2006 08:10 AM

Code:

dpkg-reconfigure <package_name>
Will ask you the question you were asked when installing the package.
If it is something else, then you have to manually do it and then you should answer heema's question if you need help

cheers

inaki 02-27-2006 07:38 PM

so that first thing should be done is

dpkg -i squid
dpkg-reconfigure squid --prefix=/usr/local/squid

Is it true.....

dracae 02-27-2006 07:48 PM

dpkg -i --instdir /usr/local
This will basically chroot to /usr/local just before the install scripts are run.
To make changes to the source
apt-get source squid
This will download the squid sources, unpack them, and apply any debian specific patches.
Put configure flags, etc. in <package root>/debian/rules
use dpkg-buildpackage in the package root


All times are GMT -5. The time now is 12:57 AM.