# Unable to locate package elasticsearch (OSS Version)

**URL:** https://discuss.elastic.co/t/unable-to-locate-package-elasticsearch-oss-version/212756
**Category:** Elasticsearch
**Created:** [December 21, 2019, 10:36pm UTC](https://discuss.elastic.co/t/unable-to-locate-package-elasticsearch-oss-version/212756 "2019-12-21T22:36:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Alexandra\_Monteiro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexandra_monteiro/32/45433_2.png) [@Alexandra\_Monteiro](https://discuss.elastic.co/u/Alexandra_Monteiro)
#### Post date: [December 21, 2019, 10:36pm UTC](https://discuss.elastic.co/t/unable-to-locate-package-elasticsearch-oss-version/212756/1 "2019-12-21T22:36:42Z")

</div>

Hi everyone,

I was having some troubles with Kibana connecting to Elasticsearch. Then I read that I needed to install the OSS version to solve it. Following the tutorial I added this line:

echo "deb [https://artifacts.elastic.co/packages/oss-7.x/apt](https://artifacts.elastic.co/packages/oss-7.x/apt) stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list

But when I make apt-get install elasticsearch I get the following error:

Reading package lists... Done  
Building dependency tree  
Reading state information... Done  
E: Unable to locate package elasticsearch

How can I solve it?

Thank you in advance

---

<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: [January 18, 2020, 10:36pm UTC](https://discuss.elastic.co/t/unable-to-locate-package-elasticsearch-oss-version/212756/2 "2020-01-18T22:36:44Z")

</div>

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