CPAN on Debian: Unterschied zwischen den Versionen

Aus crazylinux.de
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: Building CPAN modules as debian packages When running debian stable, it is very likely that you will require perl modules of new versions. You can install from back po...)
 
(typo)
 
Zeile 18: Zeile 18:


from http://deb.riseup.net/development/cpan-debian-packages/
from http://deb.riseup.net/development/cpan-debian-packages/
[[Category:Debian]]

Aktuelle Version vom 25. Februar 2007, 20:24 Uhr

Building CPAN modules as debian packages When running debian stable, it is very likely that you will require perl modules of new versions.

You can install from back ports, you can install from CPAN, or you can do it the cool way: building CPAN modules as debian packages.

Lets say we want to install the latest version of the module Archive::Zip. We would run:

apt-get install dh-make-perl gzip unzip tar wget
dh-make-perl --build --cpan Archive::Zip

This gives us the file libarchive-zip-perl_1.10-1_all.deb. Then we do:

dpkg -i libarchive-zip-perl_1.10-1_all.deb

To remove the CPAN version and go back to the stable package:

apt-get --reinstall install libarchive-zip-perl

from http://deb.riseup.net/development/cpan-debian-packages/