Could not locate a PPD file for package XYZ while installing a Perl package

While installing a Perl package are you getting an error like ‘Could not locate a PPD file for package XYZ’?

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
ppm install Text-Template
Installing package 'Text-Template'...
Error installing package 'Text-Template': Could not locate a PPD file for package Text-Template
ppm install Text-Template Installing package 'Text-Template'... Error installing package 'Text-Template': Could not locate a PPD file for package Text-Template
ppm install Text-Template

Installing package 'Text-Template'...
Error installing package 'Text-Template': Could not locate a PPD file for package Text-Template

To solve this problem use cpan instead of ppm.



Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
cpan
cpan> install Text-Template
Warning: Cannot install Text-Template, don't know what it is.
Try the command
i /Text-Template/
to find objects with matching identifiers.
cpan cpan> install Text-Template Warning: Cannot install Text-Template, don't know what it is. Try the command i /Text-Template/ to find objects with matching identifiers.
cpan
cpan> install Text-Template

Warning: Cannot install Text-Template, don't know what it is.
Try the command

    i /Text-Template/

to find objects with matching identifiers.

If the package is known, you can directly execute the install command otherwise, first search the package and then install.



Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
cpan> i /Text-Template/
Distribution ADDW/Text-TemplateFill-1.7.tar.gz
Distribution BKATZUNG/Text-TemplateLite-0.01.tar.gz
Distribution BKATZUNG/Text-TemplateLite-Standard-0.03.tar.gz
Distribution BURAK/Text-Template-Simple-0.91.tar.gz
Distribution DJERIUS/Text-Template-LocalVars-0.04.tar.gz
Distribution MSCHOUT/Text-Template-1.55.tar.gz
Distribution NKH/Module-Text-Template-Build-0.05.10.tar.gz
Distribution OPI/Text-Template-Library-0.04.tar.gz
Distribution RJBS/Catalyst-View-Text-Template-0.011.tar.gz
Distribution RJBS/Email-MIME-Kit-Renderer-Text-Template-1.101302.tar.gz
Distribution TATE/Text-Template-Compact-0.1.12.tar.gz
Distribution ZGH/Text-Template-Inline-0.13.tar.gz
12 items found
cpan> install MSCHOUT/Text-Template-1.55.tar.gz
cpan> install UUID
UUID is up to date (0.28).
cpan> i /Text-Template/ Distribution ADDW/Text-TemplateFill-1.7.tar.gz Distribution BKATZUNG/Text-TemplateLite-0.01.tar.gz Distribution BKATZUNG/Text-TemplateLite-Standard-0.03.tar.gz Distribution BURAK/Text-Template-Simple-0.91.tar.gz Distribution DJERIUS/Text-Template-LocalVars-0.04.tar.gz Distribution MSCHOUT/Text-Template-1.55.tar.gz Distribution NKH/Module-Text-Template-Build-0.05.10.tar.gz Distribution OPI/Text-Template-Library-0.04.tar.gz Distribution RJBS/Catalyst-View-Text-Template-0.011.tar.gz Distribution RJBS/Email-MIME-Kit-Renderer-Text-Template-1.101302.tar.gz Distribution TATE/Text-Template-Compact-0.1.12.tar.gz Distribution ZGH/Text-Template-Inline-0.13.tar.gz 12 items found cpan> install MSCHOUT/Text-Template-1.55.tar.gz cpan> install UUID UUID is up to date (0.28).
cpan> i /Text-Template/

Distribution    ADDW/Text-TemplateFill-1.7.tar.gz
Distribution    BKATZUNG/Text-TemplateLite-0.01.tar.gz
Distribution    BKATZUNG/Text-TemplateLite-Standard-0.03.tar.gz
Distribution    BURAK/Text-Template-Simple-0.91.tar.gz
Distribution    DJERIUS/Text-Template-LocalVars-0.04.tar.gz
Distribution    MSCHOUT/Text-Template-1.55.tar.gz
Distribution    NKH/Module-Text-Template-Build-0.05.10.tar.gz
Distribution    OPI/Text-Template-Library-0.04.tar.gz
Distribution    RJBS/Catalyst-View-Text-Template-0.011.tar.gz
Distribution    RJBS/Email-MIME-Kit-Renderer-Text-Template-1.101302.tar.gz
Distribution    TATE/Text-Template-Compact-0.1.12.tar.gz
Distribution    ZGH/Text-Template-Inline-0.13.tar.gz
12 items found

cpan> install MSCHOUT/Text-Template-1.55.tar.gz
cpan> install UUID

UUID is up to date (0.28).
Could not locate a PPD file for package XYZ while installing a Perl package
Be The First

Join our list to get instant access to new articles and weekly newsletter.

Tagged on:         
0 0 votes
Article Rating
Subscribe
Notify of
guest


0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x