UNable to install perl_CPAN in Cent OS 5.11

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
midhunv
Posts: 11
Joined: 2016/05/10 14:57:32

UNable to install perl_CPAN in Cent OS 5.11

Post by midhunv » 2016/05/10 15:03:26

Hi ,

I am a newbie to cent os ,so i guess i wil b posting very often here,I need help in installing perl-CPAN ,When i try yum install perl-CPAN ,The output says

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
Setting up Install Process
No package perl-CPAN available.
Nothing to do



What should I do?Tried every solutions found on net,Folks Plss help me to resolve this ,Thanks in advance

User avatar
TrevorH
Forum Moderator
Posts: 23176
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: UNable to install perl_CPAN in Cent OS 5.11

Post by TrevorH » 2016/05/10 15:45:21

Code: Select all

# yum list \*cpan\*
Loaded plugins: changelog, downloadonly, priorities, protectbase
Excluding Packages from CentOS-5 - Base
Finished
Excluding Packages from CentOS-5 - Extras
Finished
Excluding Packages from CentOS-5 - Updates
Finished
223 packages excluded due to repository priority protections
0 packages excluded due to repository protections
Available Packages
cpanspec.noarch                                      1.77-1.el5                     epel
perl-CPAN-DistnameInfo.noarch                        0.06-2.el5                     epel
perl-CPAN-Meta-YAML.noarch                           0.003-3.el5                    epel
perl-CPANPLUS.noarch                                 0.82-1.el5                     epel
perl-Module-CPANTS-Analyse.noarch                    0.85-11.el5                    epel
perl-Parse-CPAN-Meta.noarch                          1.40-1.el5                     epel
perl-Parse-CPAN-Packages.noarch                      2.33-8.el5                     epel
perl-Test-CPAN-Meta.noarch                           0.17-1.el5                     epel
perl-Test-CPAN-Meta-JSON.noarch                      0.10-2.el5                     epel
perl-Test-CPAN-Meta-YAML.noarch                      0.17-2.el5                     epel
You don't appear to have EPEL installed - perhaps you need to run yum --enablerepo=extras install epel-release
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

midhunv
Posts: 11
Joined: 2016/05/10 14:57:32

Re: UNable to install perl_CPAN in Cent OS 5.11

Post by midhunv » 2016/05/10 16:15:38

TRied tht The result was

Total download size: 12 k
Is this ok [y/N]: y
Downloading Packages:
epel-release-5-4.noarch.rpm | 12 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : epel-release 1/1

Installed:
epel-release.noarch 0:5-4

Complete!
[root@localhost ~]# yum install perl-CPAN
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* epel: kartolo.sby.datautama.net.id
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
epel | 3.6 kB 00:00
epel/primary_db | 2.9 MB 00:18
Setting up Install Process
No package perl-CPAN available.
Nothing to do
----------------------------------------------------------------------------------

I am just stuck with it for few days ,Please help me through.

User avatar
TrevorH
Forum Moderator
Posts: 23176
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: UNable to install perl_CPAN in Cent OS 5.11

Post by TrevorH » 2016/05/10 19:40:43

Look at the yum list comand that I ran. It lists everything in the repos with cpan in its package name and the one you're looking for is not known. There are others - perhaps the thing you want is not known by that name in CentOS 5. CentOS 5 is quite old - in fact more than quite! It has less than 1 year of life left so if this is something new you are just starting, perhaps you should look at CentOS 6 or 7 instead?
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply