# Opam 2.0 experimental PPAs

**URL:** <https://discuss.ocaml.org/t/opam-2-0-experimental-ppas/2446>\
**Category:** Ecosystem\
**Tags:** opam\
**Created:** [August 17, 2018, 2:28pm UTC](https://discuss.ocaml.org/t/opam-2-0-experimental-ppas/2446 "2018-08-17T14:28:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![avsm](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/avsm/32/6_2.png) [@avsm](https://discuss.ocaml.org/u/avsm)\
**Post date:** [August 17, 2018, 2:28pm UTC](https://discuss.ocaml.org/t/opam-2-0-experimental-ppas/2446/1 "2018-08-17T14:28:12Z")

</div>

I’ve refreshed the opam2 PPA infrastructure to make binary packages available for Ubuntu, ahead of the stable release of opam 2.0.0. These can be used with (e.g.) Travis CI for non-container based builds from an Ubuntu base, without having to wait for the upstream packages to get the latest version of opam.

The packages currently sit in my experimental PPA tree at [avsm/ppa-opam-experimental](https://github.com/avsm/opam2-ppa), so if anyone can test them and let me know if you run into any problems, I’d appreciate it.

Sources to the scripts and more information in the README:

- [https://github.com/avsm/opam2-ppa](https://github.com/avsm/opam2-ppa)

If anyone would like to help with including opam 2 in more upstream distributions as we approach release, please [refer to the distributions wiki](https://github.com/ocaml/opam/wiki/Distributions) and pick your favourite OS 🙂

---

<div class="post-metadata">

**Author:** ![avsm](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/avsm/32/6_2.png) [@avsm](https://discuss.ocaml.org/u/avsm)\
**Post date:** [November 8, 2018, 3:43pm UTC](https://discuss.ocaml.org/t/opam-2-0-experimental-ppas/2446/2 "2018-11-08T15:43:25Z")

</div>

Thanks to testing by [Frank Emrich](https://github.com/avsm/opam2-ppa/issues/1), I’ve promoted the Ubuntu Bionic PPAs to opam 2.0.1 and published them to the `avsm/ppa` PPA. They are also now built (in Ubuntu Launchpad) for i386, x86\_64, armhf, arm64 and ppc64el architectures, so should be convenient for many more architectures to get opam 2 on Ubuntu.

As a reminder, this now means you can do:

```auto
# apt install -y software-properties-common
# add-apt-repository ppa:avsm/ppa
# apt install opam

```

to get the latest version of opam on Ubuntu

---

<div class="post-metadata">

**Author:** ![perry](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/perry/32/518_2.png) [@perry](https://discuss.ocaml.org/u/perry)\
**Post date:** [November 8, 2018, 7:46pm UTC](https://discuss.ocaml.org/t/opam-2-0-experimental-ppas/2446/3 "2018-11-08T19:46:28Z")

</div>

Any chance of also doing builds for Cosmic?

---

<div class="post-metadata">

**Author:** ![avsm](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/avsm/32/6_2.png) [@avsm](https://discuss.ocaml.org/u/avsm)\
**Post date:** [November 9, 2018, 2:49pm UTC](https://discuss.ocaml.org/t/opam-2-0-experimental-ppas/2446/4 "2018-11-09T14:49:33Z")

</div>

They are already built for Cosmic. Have you tried it on Cosmic and had it not work?

---

<div class="post-metadata">

**Author:** ![perry](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/perry/32/518_2.png) [@perry](https://discuss.ocaml.org/u/perry)\
**Post date:** [November 9, 2018, 3:59pm UTC](https://discuss.ocaml.org/t/opam-2-0-experimental-ppas/2446/5 "2018-11-09T15:59:47Z")

</div>

I didn’t realize it was already built for Cosmic.
