1

I need to install the latest release of libssh2 listed in this repository onto an Ubuntu 16.04 VM on Microsoft's Azure Cloud. Unfortunately, the latest released version I can install from apt-get is 1.5.0.

I need an easily reproducible method of installing this specific release onto the VM. I currently have a script that download's the tarball from github, unpacks, and builds from source via autotools.

I was wondering if there was a way to setup a pre build mirror or something that I could use to install the binaries from apt-get?

1 Answer 1

1

I think the simplest option here is to install the necessary packages from 17.10 or 18.04; you’ll need

I would install those using dpkg -i, but if you really want to use apt, you could either add the 17.10 repositories with suitable pinning, or create your own repository with those three packages using apt-ftparchive or reprepro.

2
  • dpkg -i is fine, in my script I would need to first download the deb files from launchpad from something like wget correct? And then simply run dpkg -i whatever_library.deb? Commented Mar 5, 2018 at 13:36
  • That’s it, yes — download the files using wget and then install them using dpkg -i, all three in the same command. Commented Mar 5, 2018 at 13:38

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.