Subject: | --default-to-apt option for Debian and friends |
Most Debian users prefer to install CPAN modules via Debian packages,
when they are available. Debian packages handle external dependencies,
and undergo additional testing that makes installation smoother.
It would be great to have cpanminus support a --default-to-apt mode in
which distributions would be installed by the native package manager
when possible.
For cpanminus to do so would require the following:
- name of Debian package (if any) corresponding to desired CPAN distribution
- CPAN version corresponding to the Debian package
- running the package manager with root permissions (i.e. sudo apt-get
install foo)
If this would be feasible and suit the design goals of cpanminus, code
for the above is attached. :-)
Subject: | default-to-apt |
Message body not shown because it is not plain text.