Skip to content

Install libssl3

Brian K. White edited this page Mar 12, 2022 · 4 revisions

Install libssl3 on systems before Jammy

credit: https://github.com/amedee

Ubuntu mainline kernel 5.15.7+ and 5.16 bump the requirement from libssl1.1 (>= 1.1.0) to libssl3 (>= 3.0.0~~alpha1). However, package libssl3 is not available for Ubuntu 21.10 Impish Indri. It's only available for Ubuntu 22.04 Jammy Jellyfish, which is not yet released.

libssl3 further depends on libc6>=2.34 and debconf, which are available in 21.10 repositories.

Here are a few different ways to resolve the dependency:

Option 1 (recommended). Use apt pinning to install libssl3 from a Jammy repo, without pulling in everything else from Jammy.

  • Configure the default release in the apt configuration file:
    APT::Default-Release "impish";
    
  • Add the Jammy repository to the apt sources:
    deb http://mirror.servers.com/ubuntu/ jammy main
    
  • Pin libssl3 to the jammy version in apt preferences:
    Package: libssl3
    Pin: release n=jammy
    Pin-Priority: 900
    
  • Install libssl3:
    $ sudo apt install --yes libssl3
    

Option 2. Download the libssl3 deb package for Jammy and install it manually with dpkg -i filename.deb.

Clone this wiki locally