From dbc51c428b819e076c56304516e2e885ed73a141 Mon Sep 17 00:00:00 2001 From: Pete Fein Date: Thu, 24 Mar 2016 22:37:33 +0000 Subject: [PATCH 1/2] update readme for installing java under ubuntu --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d154b809..a4acc53b 100644 --- a/README.md +++ b/README.md @@ -204,17 +204,22 @@ $ brew install homebrew/versions/elasticsearch17 #### Ubuntu -1. Download and install the Public Signing Key. +1. Install Java + ```bash + $ sudo apt-get install openjdk-7-jdk + ``` + +2. Download and install the Public Signing Key. ```bash $ wget -qO - https://packages.elasticsearch.org/GPG-KEY-elasticsearch | sudo apt-key add - ``` -2. Add the ElasticSearch repository to your /etc/apt/sources.list. +3. Add the ElasticSearch repository to your /etc/apt/sources.list. ```bash $ sudo add-apt-repository "deb http://packages.elasticsearch.org/elasticsearch/1.4/debian stable main" ``` -3. Install the package +4. Install the package ```bash $ sudo apt-get update $ sudo apt-get install elasticsearch From 1a9fe61454d60210012299752cb1bb3214aa2640 Mon Sep 17 00:00:00 2001 From: Pete Fein Date: Thu, 24 Mar 2016 22:52:52 +0000 Subject: [PATCH 2/2] add more ubuntu dependencies --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4acc53b..be69bd65 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ For further information on installing virtualenv and virtualenvwrapper: #### Ubuntu ```bash -$ sudo apt-get install python-pip python-dev build-essential +$ sudo apt-get install python-pip python-dev build-essential libxml2-dev libxslt1-dev $ pip install virtualenv $ sudo pip install virtualenv virtualenvwrapper $ sudo pip install --upgrade pip