• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1647
  • 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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

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