# Attempting to use Curator (Elasticsearch)

**URL:** https://discuss.elastic.co/t/attempting-to-use-curator-elasticsearch/204099
**Category:** Elasticsearch
**Tags:** curator
**Created:** [October 17, 2019, 4:35pm UTC](https://discuss.elastic.co/t/attempting-to-use-curator-elasticsearch/204099 "2019-10-17T16:35:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![edster](https://avatars.discourse-cdn.com/v4/letter/e/da6949/32.png) [@edster](https://discuss.elastic.co/u/edster)
#### Post date: [October 17, 2019, 4:35pm UTC](https://discuss.elastic.co/t/attempting-to-use-curator-elasticsearch/204099/1 "2019-10-17T16:35:07Z")

</div>

Hello, I am trying to install curator for elasticsearch on Ubuntu. However, we are trying to have control of the location and have it set into a custom/given directory. I have tried using a tar package, however, it seems to be looking for python version of elasticsearch? However, our current version is using Java. How can we go about making this work so that we can get it working with our current version (6.7.2) of elasticsearch and still control which directory is install and resides on?

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [October 17, 2019, 6:16pm UTC](https://discuss.elastic.co/t/attempting-to-use-curator-elasticsearch/204099/2 "2019-10-17T18:16:47Z")

</div>

> [@edster](#):
>
> However, we are trying to have control of the location and have it set into a custom/given directory.

Out of curiosity, what is the reasoning behind this requirement?

> [@edster](#):
>
> I have tried using a tar package, however, it seems to be looking for python version of elasticsearch?

This would be a requirement for the [elasticsearch python module](https://pypi.org/project/elasticsearch/), rather than Elasticsearch itself (which you correctly note is Java-based).

The only way to be able to specify where Curator exists is to use [virtualenv](https://virtualenv.pypa.io/en/latest/), which allows you to create a virtualized Python environment outside of the system in a directory of your choosing. A basic representation of this would be:

```auto
$ pip install virtualenv
$ cd /path/of/my/choosing
$ virtualenv my_venv
$ source /path/of/my/choosing/my_venv/bin/activate
[my_venv] $ pip install elasticsearch-curator
[my_venv] $ curator --version

```

After this, you would be able to run `/path/of/my/choosing/my_venv/bin/curator`

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 14, 2019, 6:16pm UTC](https://discuss.elastic.co/t/attempting-to-use-curator-elasticsearch/204099/3 "2019-11-14T18:16:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
