Perl-Module installieren

Die Installation des Perl-Moduls Nagios::Plugin aus dem CPAN kann so einfach sein wie die der folgende Kommandozeilenaufruf:

# perl -MCPAN -e 'install Nagios::Plugin'

Wenn Sie bisher jedoch noch keine Perl-Module aus dem CPAN installiert haben, mag die Installation zunächst verwirrend sein – aber sehen wir uns das Ganze einmal Schritt für Schritt an.

Um Ihnen möglichst viele Fragen, etwa zum Speicherort temporärer Dateien während der Installation, abzunehmen, unterstützt CPAN eine automatische Konfiguration.

CPAN is the world-wide archive of perl resources. It consists of about 300 sites that all replicate the same contents around the globe. Many countries have at least one CPAN site already. The resources found on CPAN are ...

Get Praxisbuch Nagios (German Animal) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.