# Switch from OH2 Offline to Online

**URL:** <https://community.openhab.org/t/switch-from-oh2-offline-to-online/17166>\
**Category:** Runtime\
**Created:** [November 23, 2016, 9:40pm UTC](https://community.openhab.org/t/switch-from-oh2-offline-to-online/17166 "2016-11-23T21:40:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Frasier](https://community.openhab.org/user_avatar/community.openhab.org/frasier/32/77724_2.png) [@Frasier](https://community.openhab.org/u/Frasier)\
**Post date:** [November 28, 2016, 11:35am UTC](https://community.openhab.org/t/switch-from-oh2-offline-to-online/17166/3 "2016-11-28T11:35:45Z")

</div>

_EDIT: I found most of the answers in the following thread [migration-from-oh-1-x-to-oh-2-tutorial](https://community.openhab.org/t/migration-from-oh-1-x-to-oh-2-tutorial/13947). The only remaining question is how to update a specific binding without doing a full apt-get upgrade._

I have questions touching this subject.

I’m using the offline setup with nightly builds. Recently the exec 2.0 binding was released (and yesterday also updated) and now I would like to update this binding to the latest snapshot. Can I update only the specific binding or would I have to do a apt-update/upgrade of the entire setup?

Also if someone could shed some light on another topic. How can i specify in the addons.cfg that I would like a specific version of a binding? Now I just enter “exec” but as I have enabled also 1.x bindings in the paper UI I actually have three versions to choose from in the paper UI GUI (2.0, 1.x and 1,8 [not sure if it says 1.8 at this time but they are three versions visible in the GUI] ).

Also which method takes precedence when managing extensions/bundles/bindings and what method should I choose?  
I can choose to either install from the paper UI, the addons.cfg or by doing “bundle:install” in the CLI.

Sorry for possibly hijacking this thread!

---

_[View the full topic](https://community.openhab.org/t/switch-from-oh2-offline-to-online/17166)._
