summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-06-13 09:54:56 +0200
committerGitHub <noreply@github.com>2018-06-13 09:54:56 +0200
commita280e5d6d44cb585575efa61030bede67203cd64 (patch)
tree6b95d53601b943d4c6d2e98393c49c2dba7acb2b
parent145b2bd359490fd2a53b9a67dd4cdb1323d79642 (diff)
update installation instructions for latest version (#1383)
-rw-r--r--README.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/README.md b/README.md
index 010a17a..0136d0d 100644
--- a/README.md
+++ b/README.md
@@ -79,30 +79,32 @@ Check out the [Oxidized TREX 2014 presentation](http://youtu.be/kBQ_CTUuqeU#t=3h
Install all required packages and gems.
```shell
-apt-get install ruby ruby-dev libsqlite3-dev libssl-dev pkg-config cmake libssh2-1-dev libicu-dev
+apt-get install ruby ruby-dev libsqlite3-dev libssl-dev pkg-config cmake libssh2-1-dev libicu-dev zlib1g-dev
gem install oxidized
gem install oxidized-script oxidized-web # if you don't install oxidized-web, make sure you remove "rest" from your config
```
### CentOS, Oracle Linux, Red Hat Linux
-On CentOS 6 / RHEL 6, install Ruby 2.0 or greater (for Ruby 2.1.2 installation instructions see [Installing Ruby 2.1.2 using RVM](#installing-ruby-212-using-rvm)), then install Oxidized dependencies
+On CentOS 6 / RHEL 6, begin by installing Ruby 2.0 or greater. For Ruby 2.1.2 installation instructions see [Installing Ruby 2.1.2 using RVM](#installing-ruby-212-using-rvm).
+
+If you've installed Ruby 2.0 or greater via a 3rd party package rather than the RVM instructions, additional dependencies will be required:
```shell
-yum install cmake sqlite-devel openssl-devel libssh2-devel libicu-devel
+yum install make cmake which sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++
```
RHEL 7 / CentOS 7 will work out of the box with the following package list:
```shell
-yum install cmake sqlite-devel openssl-devel libssh2-devel ruby gcc ruby-devel libicu-devel gcc-c++
+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:
```shell
gem install oxidized
-gem install oxidized-script oxidized-web
+gem install oxidized-script oxidized-web # if you don't install oxidized-web, make sure you remove "rest" from your config
```
### FreeBSD
@@ -218,7 +220,7 @@ Install Ruby 2.1.2 build dependencies
```shell
yum install curl gcc-c++ patch readline readline-devel zlib zlib-devel
yum install libyaml-devel libffi-devel openssl-devel make cmake
-yum install bzip2 autoconf automake libtool bison iconv-devel libssh2-devel
+yum install bzip2 autoconf automake libtool bison iconv-devel libssh2-devel libicu-devel
```
Install RVM