Solved

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

Posted on 2010-11-23
5
1,263 Views
Last Modified: 2012-05-10
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
Comment
Question by:rgbcof
  • 3
5 Comments
 
LVL 16

Accepted Solution

by:
jmatix earned 250 total points
ID: 34199862
perl Makefile.PL

make

make test

make install
0
 
LVL 8

Expert Comment

by:rjwesley
ID: 34199867
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
 
LVL 8

Expert Comment

by:rjwesley
ID: 34199874
Ooops, should read in their entirety first, sorry.
0
 

Author Closing Comment

by:rgbcof
ID: 34199905
Problem solved.  Thanks.
0
 
LVL 8

Expert Comment

by:rjwesley
ID: 34199924
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now