title: How to install Net::SFTP perl module in Red Hat Enterprise Linux
body: <p>I am looking to implement an SFTP module for my Linux log archival and need some help to install the
  <a href="https://metacpan.org/pod/Net::SFTP" rel="nofollow noreferrer"><code>Net::SFTP</code></a>
  module.</p>
  
  <p>I am using a RHEL7 system which does not have internet access or an active yum repository and also do not have
  <a href="https://metacpan.org/pod/CPAN" rel="nofollow noreferrer"><code>CPAN</code></a>
  installed.</p>
  
  <p>I tried to build the module but got the below error</p>
  
  <blockquote>
    <p>Net-SFTP-Foreign-1.87]$ perl Makefile.PL<br>
    Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 4.
    BEGIN failed--compilation aborted at Makefile.PL line 4.</p>
  </blockquote>