Installation from source
editInstallation from source
editInstalling or Curator from source is also possible. In order to do so requires that all dependent libraries are installed first.
If you have pip
installed, then you can install from a gzipped file. If not,
you have to uncompress the gzipped file and run python setup.py install
.
That might look like this:
wget https://github.com/username/project/archive/#.#.#.tar.gz -O package.tar.gz tar zxf package.tar.gz cd package-#.#.# python setup.py install
The dependencies are as follows
setuptools
editDownload ez_setup.py and run it using the target Python version. The script will download the appropriate version and install it for you:
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
Note that you will need to invoke the command with superuser privileges to install to the system Python:
wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
Alternatively, setuptools may be installed to a user-local path:
wget https://bootstrap.pypa.io/ez_setup.py -O - | python - --user
Urllib3
editDownload and install the urllib3 dependency (1.8.3 or greater):
-
wget https://github.com/shazow/urllib3/archive/1.20.tar.gz -O urllib3-1.20.tar.gz
-
pip install urllib3-1.20.tar.gz
or uncompress and run python setup.py install
click
editDownload and install the click dependency (6.0 or greater):
-
wget https://github.com/pallets/click/archive/6.7.tar.gz -O click-6.7.tar.gz
-
pip install click-6.7.tar.gz
or uncompress and run python setup.py install
certifi
editDownload and install the certifi
dependency. Always use the most recent
version:
-
wget https://github.com/certifi/python-certifi/archive/2018.04.16.tar.gz -O certifi.tar.gz
-
pip install certifi.tar.gz
PyYAML
editDownload and install the PyYAML dependency (3.10 or greater):
-
wget http://pyyaml.org/download/pyyaml/PyYAML-3.12.tar.gz -O PyYAML-3.12.tar.gz
-
pip install PyYAML-3.12.tar.gz
or uncompress and run python setup.py install
voluptuous
editDownload and install the voluptuous dependency (0.9.3 or greater):
-
wget https://github.com/alecthomas/voluptuous/archive/0.9.3.tar.gz
-
pip install 0.9.3.tar.gz
or uncompress and run python setup.py install
elasticsearch (python module)
editDownload and install the elasticsearch-py dependency:
-
wget https://github.com/elastic/elasticsearch-py/archive/
6.2.0.tar.gz -O elasticsearch-py.tar.gz
-
pip install elasticsearch-py.tar.gz
or uncompress and run python setup.py install
elasticsearch-curator (python module)
editDownload and install Curator:
-
wget https://github.com/elastic/curator/archive/v
5.5.4.tar.gz -O elasticsearch-curator.tar.gz
-
pip install elasticsearch-curator.tar.gz
or uncompress and run python setup.py install
. At this point you could also
run run_curator.py
from the source directory as well.