# Install curator, without root or internet access

**URL:** https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418
**Category:** Elasticsearch
**Created:** [April 11, 2019, 2:07pm UTC](https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418 "2019-04-11T14:07:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Parvatayya\_Malimath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/parvatayya_malimath/32/49330_2.png) [@Parvatayya\_Malimath](https://discuss.elastic.co/u/Parvatayya_Malimath)
#### Post date: [April 11, 2019, 2:07pm UTC](https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418/1 "2019-04-11T14:07:55Z")

</div>

Hi

I have no internet access or root/sudo access on a vm and i badly need to have the curator for managing the indices.

please help me with a tar ball (not the source code) or let me know a work around to keep the index only for certain number of days.

---

<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: [April 11, 2019, 2:21pm UTC](https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418/2 "2019-04-11T14:21:41Z")

</div>

While it is possible to install via a tarball, you will still need all of the Python prerequisites to do so. This is not impossible, just tedious.

While [the documentation](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.6/python-source.html) says "Installation from source," it's all installation from tarballs. There is no "one" tarball that will install Curator for you because of the dependencies.

---

<div class="post-metadata">

### Author: ![Parvatayya\_Malimath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/parvatayya_malimath/32/49330_2.png) [@Parvatayya\_Malimath](https://discuss.elastic.co/u/Parvatayya_Malimath)
#### Post date: [April 11, 2019, 3:26pm UTC](https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418/3 "2019-04-11T15:26:25Z")

</div>

Thank you. I understand its tedious. I will use curator to delete the index, prior to N days.  
Is there a easier way. I can write a small python script to do that with this though.  
[http://localhost:9200/\_cat/indices/log\*?pretty&h=i&s=i](http://localhost:9200/_cat/indices/log*?pretty&h=i&s=i)  
let me know if you are aware of a work around.

---

<div class="post-metadata">

### Author: ![Parvatayya\_Malimath](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/parvatayya_malimath/32/49330_2.png) [@Parvatayya\_Malimath](https://discuss.elastic.co/u/Parvatayya_Malimath)
#### Post date: [April 12, 2019, 12:24pm UTC](https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418/4 "2019-04-12T12:24:34Z")

</div>

I was able to sort it. this is what i did. if it helps anybody at all

1. I copied this rpm there [https://packages.elastic.co/curator/5/centos/6/Packages/elasticsearch-curator-5.6.0-1.x86\_64.rpm](https://packages.elastic.co/curator/5/centos/6/Packages/elasticsearch-curator-5.6.0-1.x86_64.rpm) (from my windows machine where i have internet)
2. on my Linux host I did mkdir ~/.local
3. winscp the rpm to my linux vm in ~/.local
4. cd ~/.local
5. execute rpm2cpio elasticsearch-curator-5.6.0-1.x86\_64.rpm | cpio -ivd
6. I was then able to run ~/.local/opt/elasticsearch-curator/curator

---

<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: [April 12, 2019, 1:46pm UTC](https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418/5 "2019-04-12T13:46:27Z")

</div>

A clever workaround!

---

<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: [May 10, 2019, 1:46pm UTC](https://discuss.elastic.co/t/install-curator-without-root-or-internet-access/176418/6 "2019-05-10T13:46:34Z")

</div>

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