How to install Net :: SFTP module on Ubuntu?

I am new to Perl. How to install Net :: SFTP module? I am running Ubuntu Linux. I believe there is an easy way to do this from the command line, for example by calling $ cpan install or something like that.

+3
source share
3 answers

Typically, to install perl modules on the command line:

perl -MCPAN -e "install Net::SFTP"

, perl- , . Perl C-, C . , OpenBSD , , , , , , CPAN , , .

+5

apt-get aptitude ( , ).

, :

  • cpan, , - : apt-get install cpan
  • cpan : cpan -i Net:SFTP
    ( , - , )
  • cpan: cpan -h perldoc -F /usr/bin/cpan ( perl-doc)
+4

Net:: SFTP Debian/Ubuntu, - , pari, Debian.

Net:: SFTP:: Foreign, libnet-sftp-foreign-perl ( CPAN).

+2

Source: https://habr.com/ru/post/1719685/


All Articles