Wednesday, July 27, 2016

centos5 - Issue installing gcc & curl-devel on Centos OS 5.6



I'm trying to install gcc and curl-devel on CentOS 5.6 (64 bit) server.



The command I'm using is:





yum install gcc \ curl-devel




After running the command it says:




No package gcc available.



No package curl-devel available.





Is there another way for me to install this? Haven't used CentOS much so not sure if maybe they are disabled by the repo or something else. Any help would be greatly appreciated!



Here is the output from running 'yum repolist':




Loaded plugins: fastestmirror Loading mirror speeds from cached
hostfile * base: centos.syn.co.il * extras: centos.syn.co.il *
updates: centos.syn.co.il base
| 1.1 kB 00:00 extras
| 2.1 kB 00:00 updates
| 1.9 kB 00:00 repo id repo name
status base CentOS-5 - Base
enabled: 3,662 extras CentOS-5 - Extras
enabled: 265 updates CentOS-5 - Updates
enabled: 223 repolist: 4,150




Answer



Try:



yum install gcc.x86_64


then



yum install curl-devel.x86_64


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...