# Openhabian - Update to specific version

**URL:** <https://community.openhab.org/t/openhabian-update-to-specific-version/150369>\
**Category:** Installation\
**Created:** [October 15, 2023, 9:33am UTC](https://community.openhab.org/t/openhabian-update-to-specific-version/150369 "2023-10-15T09:33:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matze0211](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/c0e974/32.png) [@Matze0211](https://community.openhab.org/u/Matze0211)\
**Post date:** [October 15, 2023, 9:33am UTC](https://community.openhab.org/t/openhabian-update-to-specific-version/150369/1 "2023-10-15T09:33:11Z")

</div>

Hi,

Question on openhabian, maybe someone can help:

As per my understanding with openhabian config tool you can only update openhab to latest version, not to a specific version.

Is there any guidance / best practice if I don’t want to update to latest version?

For pure linux installations without openhabian it’s documented to use apt-get and specify the version. Is this also safe to do within openhabian or is there anything openhabian specific, why I should not use apt-get?

I had a look in the documentation and searched the forum, but did not found any hint. Not sure if I missed something or the question was not asked before?

Thanks already for any help

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [October 15, 2023, 7:09pm UTC](https://community.openhab.org/t/openhabian-update-to-specific-version/150369/2 "2023-10-15T19:09:18Z")

</div>

> [@Matze0211](#):
>
> Is this also safe to do within openhabian or is there anything openhabian specific, why I should not use apt-get?

This is safe to use on openHABian. It’s posted in a few places on the forum but ultimately you run a couple of `apt` commands to freeze the package to a specific version. Then run an upgrade which will only go up to tat specific version and no farther.

---

<div class="post-metadata">

**Author:** ![Matze0211](https://community.openhab.org/letter_avatar_proxy/v4/letter/m/c0e974/32.png) [@Matze0211](https://community.openhab.org/u/Matze0211)\
**Post date:** [October 15, 2023, 8:51pm UTC](https://community.openhab.org/t/openhabian-update-to-specific-version/150369/3 "2023-10-15T20:51:12Z")

</div>

I think you are describing another usecase, where you want to update everything expect OH.

In my case I also want to update OH, but not too the latest version, but to a specific version.

However I followed the documentation and used:

```auto
sudo apt-get install openhab=xxxx

```

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [October 16, 2023, 2:25pm UTC](https://community.openhab.org/t/openhabian-update-to-specific-version/150369/4 "2023-10-16T14:25:32Z")

</div>

> [@Matze0211](#):
>
> In my case I also want to update OH, but not too the latest version, but to a specific version.

Without fixing the version, the next time you run apt upgrade, it’s going to upgrade your OH to 4.
