Opam 2.0 experimental PPAs

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, 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:

If anyone would like to help with including opam 2 in more upstream distributions as we approach release, please refer to the distributions wiki and pick your favourite OS :slight_smile:

5 Likes

Thanks to testing by Frank Emrich, 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:

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

to get the latest version of opam on Ubuntu

4 Likes

Any chance of also doing builds for Cosmic?

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

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