# Install Curator in Linux with no Network & Root Access or Pip

**URL:** https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420
**Category:** Elasticsearch
**Created:** [June 14, 2017, 4:26pm UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420 "2017-06-14T16:26:14Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kevinc1029](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@kevinc1029](https://discuss.elastic.co/u/kevinc1029)
#### Post date: [June 14, 2017, 4:26pm UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420/1 "2017-06-14T16:26:14Z")

</div>

I'm having trouble installing curator in my Linux stage environment.

I don't have network and root access, or `pip` to help me install curator in my evnironment.

What I've tried is using `pip` to install curator on my localmachine then transfer the files and packages to my stage. However, I'm not able to find `curator.exe` in my stage to run curator.

I came across to this [post](https://discuss.elastic.co/t/is-there-a-way-to-install-elasticsearch-curator-offline/82) on how to install curator offline but it requires `pip` in the offline host. Is there another way I can do it?

Thanks.

---

<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: [June 15, 2017, 2:27am UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420/2 "2017-06-15T02:27:08Z")

</div>

Sorry for the outdated information. That install document predates Curator's addition to Elastic's official documentation online. [Curator's official documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.1/index.html) has direct downloads for RHEL/CentOS 6, 7, and Debian 8 flavors in the [installation chapter](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.1/installation.html):

- [Debian](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.1/apt-repository.html#_direct_package_download_link)
- [RHEL/CentOS 6/7](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.1/yum-repository.html#_direct_package_download_link_2)

These packages do not require Python to be installed, as they are completely self-contained (frozen, in Python parlance).

---

<div class="post-metadata">

### Author: ![kevinc1029](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@kevinc1029](https://discuss.elastic.co/u/kevinc1029)
#### Post date: [June 15, 2017, 3:20pm UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420/3 "2017-06-15T15:20:01Z")

</div>

Is there a way to install it without root access?

---

<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: [June 15, 2017, 10:18pm UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420/4 "2017-06-15T22:18:32Z")

</div>

Not the RPMs, no. That sounds like a discussion that should happen, so that you can install necessary tools.

If you were to install the RPM on a separate machine, however, it would put Curator into `/opt/elasticsearch-curator`. If you were to copy this entire directory into a target directory of your choice, it _might_ work. The binaries are in the top level of that directory.

Alternatives to this are kind of difficult, as they'd require you installing a virtualenv on one machine, and then trying to copy it exactly over to another. This would only work if the virtualenv had exactly the same paths on both machines (if I recall correctly), and even that requires that virtualenv be installed in Python.

---

<div class="post-metadata">

### Author: ![kevinc1029](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@kevinc1029](https://discuss.elastic.co/u/kevinc1029)
#### Post date: [June 16, 2017, 6:11pm UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420/5 "2017-06-16T18:11:46Z")

</div>

Just wondering, how come I'm not able to use pip to install curator and the necessary packages and then transfer all the files to my Linux machine and run curator?

I've tried it and it didn't work.

---

<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: [June 16, 2017, 11:03pm UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420/6 "2017-06-16T23:03:31Z")

</div>

Because pip installs not only the package, but metadata that indicates the package was installed, and where. Without that metadata, the `import module_name` lines at the top of the python code files would be unable to find where those modules were installed. That's why it fails. That's why doing this in a virtualenv would work, because it packages the metadata with the modules. But that's also why virtualenv is hard, because it has to be in the same path on both the source and the target machine to work.

---

<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: [July 14, 2017, 11:03pm UTC](https://discuss.elastic.co/t/install-curator-in-linux-with-no-network-root-access-or-pip/89420/7 "2017-07-14T23:03:37Z")

</div>

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