[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1571
  • Last Modified:

Linux, How do I install perl module IO::Socket::INET

I am trying to install to my Perl 5.8.5 this module:  IO::Socket::INET
1) Module is at http://search.cpan.org/~gbarr/IO-1.25/lib/IO/Socket/INET.pm
2) I download the IO-1.25.tar.gz file on my CentOS, I unzip it (tar -zxvf IO-1.25.tar.gz)
ls /tmp/IO-1.25/
ChangeLog  IO.pm  IO.xs  lib  Makefile.PL  MANIFEST  META.yml  poll.c  poll.h  README  SIGNATURE  t

But I don't know what to do next, since there isn't a (.config).  How do I install it?
0
rgbcof
Asked:
rgbcof
  • 3
1 Solution
 
Justin MathewsCommented:
perl Makefile.PL

make

make test

make install
0
 
rjwesleyCommented:
Which Linux flavour are you using? as Perl may be part of a repository. In some cases installing from CPAN may cause undesirable effects.

Rob
0
 
rjwesleyCommented:
Ooops, should read in their entirety first, sorry.
0
 
rgbcofAuthor Commented:
Problem solved.  Thanks.
0
 
rjwesleyCommented:
I use CentOS 5 and perl-IO-Socket-INET... and perl-IO-SocketSSL... are there.

I'd suggest installing from there, inPackage Manager search for perl-IO

Rob
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now