# Install local plugin using --local does not work: tries "online installation

**URL:** <https://discuss.elastic.co/t/install-local-plugin-using-local-does-not-work-tries-online-installation/59982>\
**Category:** Logstash\
**Created:** [September 7, 2016, 1:16pm UTC](https://discuss.elastic.co/t/install-local-plugin-using-local-does-not-work-tries-online-installation/59982 "2016-09-07T13:16:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guenhael](https://avatars.discourse-cdn.com/v4/letter/g/b9bd4f/32.png) [@Guenhael](https://discuss.elastic.co/u/Guenhael)\
**Post date:** [September 7, 2016, 1:16pm UTC](https://discuss.elastic.co/t/install-local-plugin-using-local-does-not-work-tries-online-installation/59982/1 "2016-09-07T13:16:29Z")

</div>

Hi,

I have to make an offline installation of a plugin on a system not connected to Internet. I followed the procedure I found on elasticsearch/logstash documentation:

1. install the plugin on an "online" system,
2. use "logstash-plugin pack" command
3. this produces a plugins\_package.tar.gz file: checked the content, seems Ok, with many gem files, including the one related to the plugin I installed
4. Transferred the tar.gz file to my offline machine
5. run the "logstash-plugin unpack plugins\_package.tar.gz" command : ok ...  
6), but, when I run the "logstash-plugin install --local myPlugin" command ... It tried to run an Internet installation (seems to ignore the --local option)

Did I miss anything ?

Thanks for your help,

Guenhaël.

---

<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 6, 2017, 4:39am UTC](https://discuss.elastic.co/t/install-local-plugin-using-local-does-not-work-tries-online-installation/59982/2 "2017-07-06T04:39:30Z")

</div>


