Linux Commands Examples

A great documentation place for Linux commands


add dependencies required for DBI modules


dh_perl_dbi [debhelper options]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


sed "s,@DBDABI_VERSION@,$(DBDABI_VERSION)," debian/ >debian/dh_perl_dbi
chmod +x debian/dh_perl_dbi
chmod +x debian/dh_perl_dbi
pod2man debian/dh_perl_dbi debian/dh_perl_dbi.1
dh_gencontrol -- -Vperl-dbdabi-version=$(DBDABI_VERSION)


dh_perl_dbi is a debhelper program that is responsible for adding a dependency on perl-dbdabi-* to the ${perl:Depends} substitution variable. Such a dependency is required for packages that use the DBD<> DBI binary interface; do not use this for packages that only use the DBI module.

A debhelper addon is also provided. This makes it possible to just use

  #!/usr/bin/make -f
          dh $@ --with perl_dbi

for debian/rules.

copyright and license

Copyright 2010, Ansgar Burchardt <ansgar[:at:]debian[:dot:]org>

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

see also



How can this site be more helpful to YOU ?

give  feedback