No package ruby-devel available.



  • On AWS Redhat you may get this error when trying to install packages.

    Under /etc/yum.repos.d/* not all the repositories are enabled by default, for instance if you need dev packages you'll see that error. Find the right repo file and where there are optional repo's are configured but not enabled.

    You will see sections like below change enabled=0 to enabled=1

    [rhui-REGION-rhel-server-releases-debug]
    name=Red Hat Enterprise Linux Server 7 Debug (Debug RPMs)
    mirrorlist=https://rhui2-cds01.REGION.aws.ce.redhat.com/pulp/mirror/content/dist/rhel/rhui/server/7/$releasever/$ba
    search/debug
    enabled=0
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    sslverify=1
    sslclientkey=/etc/pki/rhui/content-rhel7.key
    sslclientcert=/etc/pki/rhui/product/content-rhel7.crt
    sslcacert=/etc/pki/rhui/cdn.redhat.com-chain.crt

    then run

    sudo yum makecache
    

Log in to reply
 

© Lightnetics 2024