I'm trying to install a modern Ruby on Amazon Linux which I think is RHEL based. I ran sudo yum install rh-ruby26 which is a legit package, and it installed some files. However when I try and run ruby, there's no executable found.

I tried rpm -ql rh-ruby26 but it says "contains no files".

Am I missing something ? Where did yum install my binary to run ruby ?


try under /opt/rh/rh-ruby26 and include that into your default path

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.