diff --git a/README.md b/README.md index 1553b238f..d1b459d66 100644 --- a/README.md +++ b/README.md @@ -98,15 +98,25 @@ gem install oxidized-script oxidized-web # If you don't install oxidized-web, en ### CentOS, Oracle Linux, Red Hat Linux -On CentOS 6 and 7 / RHEL 6 and 7, begin by installing Ruby 2.3 or greater by following the instructions at [Installing Ruby 2.3 using RVM](#installing-ruby-23-using-rvm). +On CentOS 6 and 7 / RHEL 6 and 7, begin by installing Ruby 2.3 or greater. This can be accomplished in one of two ways: -If you've installed Ruby 2.3 or greater via a 3rd party package rather than the RVM instructions, additional dependencies will be required: +Install Ruby 2.3 from [SCL](https://www.softwarecollections.org/en/scls/rhscl/rh-ruby23/): + +```shell +yum install centos-release-scl +yum install rh-ruby23 +scl enable rh-ruby23 bash +``` + +The following additional packages will be required to build the dependencies: ```shell yum install make cmake which sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++ ``` -Now let's install oxidized via Rubygems: +Alternatively, install Ruby 2.3 by following the instructions at [Installing Ruby 2.3 using RVM](#installing-ruby-23-using-rvm). + +Finally, install oxidized via Rubygems: ```shell gem install oxidized