LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2015, 07:33 AM   #1
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 116

Rep: Reputation: 6
Question How to install perl module on RHEL?


Hello,

I need to install perl-Expect, so, I executed:

Code:
#  yum install -y perl-Expect
Error: Package: perl-Expect-1.21-14.el7.noarch (epel)
           Requires: perl(IO::Pty) >= 1.03
Error: Package: perl-Expect-1.21-14.el7.noarch (epel)
           Requires: perl(IO::Tty)
Okay, I need to install perl(IO::Pty)

I launched
Code:
# yum install -y "perl(IO::Pty)"
No package perl(IO::Pty) available.
Error: Nothing to do
So, how to install all required perl modules to the RHEL?
 
Old 04-09-2015, 07:43 AM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
From the output you shared I can make out that this is RHEL7 box. Are you using this system for testing purpose? The reason I am asking because of this output: Error: Package: perl-Expect-1.21-14.el7.noarch (epel), epel repo doesn't sound something from Red Hat.

Do you have subscription from Red Hat?
 
Old 04-09-2015, 07:50 AM   #3
sluge
Member
 
Registered: Dec 2006
Location: Russia,52
Posts: 116

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by T3RM1NVT0R View Post
From the output you shared I can make out that this is RHEL7 box. Are you using this system for testing purpose? The reason I am asking because of this output: Error: Package: perl-Expect-1.21-14.el7.noarch (epel), epel repo doesn't sound something from Red Hat.

Do you have subscription from Red Hat?
Yes, I need to install some packages to test it.
Yes, EPEL is not a RH's repo.
No, I haven't subscription.

Do you have any suggestion of how to install required perl modules?
 
Old 04-09-2015, 08:01 AM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
The other way is to install the packages manually that is by downloading them from the internet and then installing them using rpm. To be honest I am not sure how much that be helpful in your testing. You might not get the packages that you are looking for.

Not possible to do your testing on CentOS? CentOS does not require subscription and you can download the packages from their repository, it is rebuild of Red Hat. You can download CentOS 7 and give it a try. Otherwise installing packages manually is such a pain.
 
1 members found this post helpful.
  


Reply

Tags
module, perl


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
list perl module & install perl module DBD::mysql linson_85 Linux - Newbie 4 06-22-2009 11:42 AM
how to install the Perl 5.10 in RHEL 5.0 with Perl GD jpmaxyusuf Linux - Software 1 10-21-2008 12:02 PM
Perl Module cant Install sohaib Red Hat 6 12-02-2005 10:22 AM
Install perl module mosh Programming 2 06-21-2004 01:12 PM
perl module install? DKY Linux - Newbie 33 08-04-2003 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration