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?
rgbcofAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Justin MathewsConnect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.