Differences between current version and revision by previous author of CPAN.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 9 | Last edited on Sunday, November 28, 2004 12:00:40 pm | by AristotlePagaltzis | |
Older page: | version 7 | Last edited on Thursday, November 4, 2004 2:23:55 pm | by MichaelBordignon | Revert |
@@ -1,9 +1,9 @@
An [Acronym] for __C__omprehensive [Perl] __A__rchive __N__etwork
[http://www.cpan.org/misc/jpg/cpan-plain.jpg]
-A vast collection of [Free] [Perl] software and documentation. If you're a [Perl] programmer, you're the kid and [CPAN] is the candy store. See [the CPAN main page | http://www.cpan.org] for more info and lots of sweets.
+A vast collection of [Free] [Perl] software and documentation. If you're a [Perl] programmer, you're the kid and [CPAN] is the candy store. See [the CPAN main page | http://www.cpan.org] for more info and lots of sweets. The quickest way to use [CPAN] to get modules is <tt>perl -MCPAN -eshell</tt>
.
-The quickest way to use [CPAN] to get modules is <tt>perl -MCPAN -eshell</tt>.
However, many of the more popular modules are available in [Debian]
and undoubtedly the
other distributions as well
, so you're better off using the package management
if you can. In [Debian] at least, look
for packages named
<tt>lib<something>
-perl</tt>. For example
, the <tt>libdbd-pg-perl
</tt> provides
the [DBD::
Pg | http://search.cpan.org/dist/DBD-Pg/] module from [CPAN]. RedHat merely calls this package
<tt>DBD-Pg</tt>.
+However, many of the more popular modules are available as packages for DebianLinux, RedHat
and various
other LinuxDistribution~s
, so you're better off using the PackageManagement
if you can. The naming schemes
for the
packages vary. DebianLinux lowercase the distribution's name, sometimes arbitrarily add dashes to it, and drop it in
<tt>lib''dist''
-perl</tt>, while RedHat simply use the distribution's name. So
the <tt>DBD::Pg
</tt> module from
the [DBD-
Pg | http://search.cpan.org/dist/DBD-Pg/] distribution is contained in the packaged called <tt>libdbd-pg-perl</tt> in DebianLinux and
<tt>DBD-Pg</tt> in RedHat
.
-If you're looking for
the GD::Graph::pie or
GD::Graph::linespoints CPAN
module on Debian, install libgd-graph-perl, libgd-perl, and libgd-text-perl
.
+You can use
the [CPAN Search | http://search.cpan.org/] to find out which distribution a module belongs to. F.ex, [looking up
GD::Graph::pie | http://search.cpan.org/search?query=
GD::Graph::pie;mode=
module] will reveal that the module is part of the [GDGraph | http://search.cpan.org/dist/GDGraph/] distribution
.