Bash
如何創建腳本外殼命令
大家好,有人可以幫我用 scrit shell 獲取這個命令嗎?
root@VPS:/work# cpan Loading internal logger. Log::Log4perl recommended for better logging CPAN.pm requires configuration, but most of it can be done automatically. If you answer 'no' below, you will enter an interactive dialog for each configuration option instead. Would you like to configure as much as possible automatically? [yes] yes Autoconfiguration complete. commit: wrote '/root/.cpan/CPAN/MyConfig.pm' You can re-run configuration any time with 'o conf init' in the CPAN shell Terminal does not support AddHistory. To fix enter> install Term::ReadLine::Perl cpan shell -- CPAN exploration and modules installation (v2.22) Enter 'h' for help. cpan[1]>install Geo::IP
從CPAN 文件中,您可以使用以下通用語法安裝模組:
cpan module_name [ module_name ... ]
在你的情況下:
cpan Geo::IP