# Building Avogadro 1.2.0 from source code in Ubuntu 22.04.02

**URL:** <https://discuss.avogadro.cc/t/building-avogadro-1-2-0-from-source-code-in-ubuntu-22-04-02/4527>\
**Category:** General Discussion\
**Created:** [June 9, 2023, 6:06am UTC](https://discuss.avogadro.cc/t/building-avogadro-1-2-0-from-source-code-in-ubuntu-22-04-02/4527 "2023-06-09T06:06:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![snehithav](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/snehithav/32/1484_2.png) [@snehithav](https://discuss.avogadro.cc/u/snehithav)\
**Post date:** [June 9, 2023, 6:06am UTC](https://discuss.avogadro.cc/t/building-avogadro-1-2-0-from-source-code-in-ubuntu-22-04-02/4527/1 "2023-06-09T06:06:25Z")

</div>

Can anyone let me know the exact method to build Avogadro 1.2.0 in Ubuntu 22.04.02 as I am missing the constraint features in Avogadro 1.97.0. It asks me to use Qt4 and I am not able to find it too. Please anyone suggest me with exact method or if possible please share the app image of Avogadro 1.2.0 if available?

---

<div class="post-metadata">

**Author:** ![Thomas](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/thomas/32/3403_2.png) [@Thomas](https://discuss.avogadro.cc/u/Thomas)\
**Post date:** [June 9, 2023, 5:02pm UTC](https://discuss.avogadro.cc/t/building-avogadro-1-2-0-from-source-code-in-ubuntu-22-04-02/4527/2 "2023-06-09T17:02:03Z")

</div>

The branch of Avogadro 1.2 on [GitHub](https://github.com/Avogadro/avogadro) was archived some years ago in favor to focus on a branch leading to Avogadro2 (currently at 1.97.0) which (as by my recollection) then once introduced AppImages for Linux (see e.g. [https://two.avogadro.cc/](https://two.avogadro.cc/)). According to [Wikipedia](https://en.wikipedia.org/wiki/Qt_(software)), the current stable release of Qt is version 6.5.1.

With this in mind, Ubuntu 18.04 Bionic Beaver (an LTS release) are possibly was the most recent release to include the old Avogadro (not only because the next LTS 20.04 transitioned to Python3 as default). Anyway, a point release 18.04.5 as .iso still is available ([entry](http://old-releases.ubuntu.com/releases/bionic/)), the collection of additional packages e.g., with `synaptic` from the servers still is functional (just tested for a package different than Avogadro):

 ![clip_01](https://discuss.avogadro.cc/uploads/default/original/2X/b/bfddb644aaa9e96ee7c5c5a873e6994e640d025b.png)

As you see OpenBabel 2.3.2 and Qt 4.8.7 are two old dependencies `apt` is going to resolve for you.

 ![clip_02](https://discuss.avogadro.cc/uploads/default/original/2X/b/b7cbeb5b6bba9f91b063a139cf841fc95ab02183.png)

Just a create a separate partition for a (minimal) installation of this elder version of the supplementary (additional) operating system.

---

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [June 9, 2023, 5:49pm UTC](https://discuss.avogadro.cc/t/building-avogadro-1-2-0-from-source-code-in-ubuntu-22-04-02/4527/3 "2023-06-09T17:49:55Z")

</div>

The other option is to use Docker:

> [@Avogadro 1.2 on Docker](https://discuss.avogadro.cc/t/avogadro-1-2-on-docker/3948):
>
> By the way - for those looking to continue using Avogadro 1.2 on Ubuntu (20.4 and later) or Windows, you might want to check out the Grimme group’s “Avogadro Container” which packages Avogadro into a Docker container:

---

<div class="post-metadata">

**Author:** ![PJ\_GV333](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/pj_gv333/32/1479_2.png) [@PJ\_GV333](https://discuss.avogadro.cc/u/PJ_GV333)\
**Post date:** [June 12, 2023, 1:21am UTC](https://discuss.avogadro.cc/t/building-avogadro-1-2-0-from-source-code-in-ubuntu-22-04-02/4527/4 "2023-06-12T01:21:17Z")

</div>

Avogadro 1.2.0.exe works fine using Wine on Ubuntu 22.04. It worked perfect for me.

---

<div class="post-metadata">

**Author:** ![snehithav](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/snehithav/32/1484_2.png) [@snehithav](https://discuss.avogadro.cc/u/snehithav)\
**Post date:** [June 12, 2023, 6:50am UTC](https://discuss.avogadro.cc/t/building-avogadro-1-2-0-from-source-code-in-ubuntu-22-04-02/4527/5 "2023-06-12T06:50:27Z")

</div>

Yeah I tried Bottles than Wine, its working smoothly there. Thank you for your suggestion.
