05 Nov 2025
Perl: Telnet-Modul installieren
Diese Fehlermeldung:
Can’t locate Net/Telnet.pm in @INC (you may need to install the Net::Telnet module)
lässt sich ohne mit der Wimper zu zucken, schnell so beheben:
- Perl-Modul via CPAN nachinstallieren
root@uni:~# perl -MCPAN -e shell
Starting with version 2.29 of the cpan shell
[...]
cpan[1]> install Net::Telnet
Reading '/root/.cpan/Metadata'
Database was generated on Tue, 06 May 2025 08:29:01 GMT
[...]
cpan[2]> quit
root@uni:~#
- Perl-Modul via apt-get installieren
- Bei anderen Distributionen natürlich die distributionseigenen Paketwerkzeuge benutzen :-)
root@uni:~# apt-get install libnet-telnet-perl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
libnet-telnet-perl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 56.5 kB of archives.
After this operation, 213 kB of additional disk space will be used.
Get:1 https://updates.software-univention.de ucs525/main amd64 libnet-telnet-perl all 3.05-2 [56.5 kB]
Fetched 56.5 kB in 1s (112 kB/s)