Dependencies of Subsurface on Ubuntu 20.04

Miika Turkia miika.turkia at gmail.com
Sun Oct 4 04:13:51 PDT 2020


On Sun, Oct 4, 2020 at 1:18 PM Willem Ferguson via subsurface <
subsurface at subsurface-divelog.org> wrote:

> I asked this question several times.
>
> I have just upgraded to Ubuntu 20.04 and, of course, my subsurface
> libraries were deleted. Where can I find the list of dependencies to
> install for 20.04?
>

If you use our Launchpad repository, everything is taken care of for you.
If you are planning on building Subsurface and need the dependencies for
that, you can still benefit from the repository. To prepare, add our
repository to your Ubuntu:

sudo add-apt-repository ppa:subsurface/subsurface
sudo apt-get update

Next step depends whether you want to install the version from our
repository or compile yourself. To just install Subsurface from our
repository use:

sudo add install subsurface

On the other hand, if you are planning to build yourself, use the following
command to automatically install the packages building depends on:

sudo apt build-dep subsurface


> I would be prepared to help maintain a page on the Subsurface web site
> that lists the dependencies for various Linux flavours.
>

I would think that the packages listed on INSTALL file in our sources would
be reasonably up-to-date. For the general audience, I would suggest to just
use the repository and not bother with listing the dependencies manually.
But if you want to see the facts, the dependencies are included in the deb
package in our repository, and are up-to-date as that is build in minimal
build environment and whatever is needed to be installed, is automatically
added to the package metadata. Anyway, if you wish to see the full list of
current information, following command shows it (if you have our repository
enabled):

apt-cache show subsurface

Finally, build dependencies you can see also from the repository, URL:

https://launchpad.net/~subsurface/+archive/ubuntu/subsurface/+sourcefiles/subsurface/4.9.7-1~focal/subsurface_4.9.7-1~focal.dsc

HTH,
miika
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20201004/3eb4c04e/attachment.html>


More information about the subsurface mailing list