Difference between revisions of "Debian-packages"
(New page: [http://www.debian-administration.org/articles/78 Building Debian packages of Perl modules] Example: creating a debian package for Net::IPv6Addr perl module * Install debian packages uti...) |
|||
Line 29: | Line 29: | ||
The problem of this method is that it does not impose the dependencies among modules. You have to take care of them. | The problem of this method is that it does not impose the dependencies among modules. You have to take care of them. | ||
+ | |||
+ | == References == | ||
+ | |||
+ | * [http://linuxdevices.com/articles/AT8047723203.html How to make debian packages] |
Revision as of 03:46, 11 February 2007
Building Debian packages of Perl modules
Example: creating a debian package for Net::IPv6Addr perl module
- Install debian packages utilities:
> apt-get install dh-make-perl devscripts
- Download perl module:
> perl -MCPAN -e "get Net::IPv4Addr"
- Create the package:
> cd $HOME/.cpan/build > dh-make-perl Net-IPv6Addr-0.2 > cd dh-make-perl Net-IPv6Addr-0.2/ > debuild
- The package is now created:
> cd .. > ls *.deb libnet-ipv6addr-perl_0.2-1_all.deb
- And it can be installed by:
> dpkg --install libnet-ipv6addr-perl_0.2-1_all.deb
The problem of this method is that it does not impose the dependencies among modules. You have to take care of them.