viewing installable perl modules via apt-get

Mumia W. paduille.4062.mumia.w+nospam at earthlink.net
Thu Jun 26 16:58:26 UTC 2008


Smoot Carl-Mitchell wrote:
> 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

Aptitude has a pretty good search ability:

aptitude search 'digest.*-perl'







More information about the ubuntu-users mailing list