# How to save elasticsearch package for later use when elastic release new version

**URL:** <https://discuss.elastic.co/t/how-to-save-elasticsearch-package-for-later-use-when-elastic-release-new-version/40910>\
**Category:** Elasticsearch\
**Created:** [February 3, 2016, 8:40pm UTC](https://discuss.elastic.co/t/how-to-save-elasticsearch-package-for-later-use-when-elastic-release-new-version/40910 "2016-02-03T20:40:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaufusihm](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Kaufusihm](https://discuss.elastic.co/u/Kaufusihm)\
**Post date:** [February 3, 2016, 8:40pm UTC](https://discuss.elastic.co/t/how-to-save-elasticsearch-package-for-later-use-when-elastic-release-new-version/40910/1 "2016-02-03T20:40:28Z")

</div>

We currently have 2.1 elasticsearch. We are going to upgrade to 2.2, but we want to save the source list and package to be able to roll back to 2.1 if we need.

Also, when we do upgrades to our elastic stack infrastructure but we don't want to upgrade to the latest elasticsearch version, how we would we use the older version through the repo list.

Make sense?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 3, 2016, 10:27pm UTC](https://discuss.elastic.co/t/how-to-save-elasticsearch-package-for-later-use-when-elastic-release-new-version/40910/2 "2016-02-03T22:27:41Z")

</div>

apt and yum both provide ways to both pin a package to a specific version or install a specific version that isn't "latest".

You should consult your applicable OS documentation to see how.

---

<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 5, 2017, 11:19pm UTC](https://discuss.elastic.co/t/how-to-save-elasticsearch-package-for-later-use-when-elastic-release-new-version/40910/3 "2017-07-05T23:19:09Z")

</div>


