Solved

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

Posted on 2010-11-23
5
1,413 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

691 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