Comments 1 Posted In Red Hat Enterprise Linux How to install Perl module Net/SFTP.pm Latest response 2017-12-06T13:34:37+00:00 Hello, How do i install Perl module Net/SFTP.pm in Redhat 7.4 ? /Anders AG Started 2017-12-06T08:17:13+00:00 by Anders Grund Community Member 32 points Log in to join the conversation Responses Sort By Oldest Sort By Newest MK Guru 1917 points 6 December 2017 1:34 PM Matti Kurkela Net/SFTP.pm? As far as I understand, the Perl-style module name for that would be Net::SFTP, then. According to cpan.perl.org, that is a pure Perl implementation of SFTP. The corresponding RedHat-style RPM package name would be perl-Net-SFTP, but there does not seem to be such a package available in RHEL 7.4. The EPEL repository has perl-Net-SFTP-Foreign, or Net::SFTP::Foreign in Perl module name style, which uses any installed OpenSSH client instead of implementing its own. So it would benefit from OpenSSH security updates. But if you absolutely need Net::SFTP, then you always have the option of compiling it for yourself. Make sure you have the compiler and development tools and libraries installed (the Development Tools and Additional Development package groups), make sure the perl-CPAN RPM is installed, and you have Internet connectivity. Then run: perl -MCPAN -e shell On the first run, this will ask some questions to determine the location of the closest Perl archive mirror and if you have a WWW proxy or not. Once you see the cpan> prompt, type: cpan> install Net::SFTP This will automatically attempt to download, compile and install the Net::SFTP Perl module, and any other modules it depends on, like Math::Int64 and Net::SSH::Perl at least. The dependent modules may have dependencies of their own, so you may see the system automatically download and install quite a number of Perl modules. Close Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.