viewing installable perl modules via apt-get

Smoot Carl-Mitchell smoot at tic.com
Thu Jun 26 15:23:41 UTC 2008


On Thu, 2008-06-26 at 17:03 +0200, Oliver Grawert wrote:
> hi,
> Am Donnerstag, den 26.06.2008, 07:58 -0700 schrieb Noah:
> > Hi,
> > 
> > I am open to the apt-get method.  But here is my dilemma is there a way 
> > to view all installable perl modules via apt-get?  I am most of the time 
> > unable to identify which is the proper install name for a particular 
> > perl module.
> how about:
> 
> apt-cache search cpan ? 
> 
> (might have some false positives for non modules that refer to cpan
> though)

The above seems to work okay.  To limit the output to what I am looking
for, I often do something like:

apt-cache search perl | grep digest

It appears most of the perl module packages are of the form:

libmod1-mod2-perl

where mod1-mod2 referes to the perl package mod1::mod2
-- 
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list