How To Install libssl1.1 on Ubuntu 20.04

In this tutorial we learn how to install libssl1.1 on Ubuntu 20.04. libssl1.1 is Secure Sockets Layer toolkit - shared libraries Secure Sockets Layer toolkit - shared libraries Secure Sockets Layer toolkit - shared libraries

Introduction

In this tutorial we learn how to install libssl1.1 on Ubuntu 20.04.

What is libssl1.1

libssl1.1 is:

This package is part of the OpenSSL project’s implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet.

It provides the libssl and libcrypto shared libraries. Task: minimal

Package: libssl1.1 Architecture: amd64 Version: 1.1.1f-1ubuntu2.3 Multi-Arch: same Priority: important Section: libs Source: openssl Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenSSL Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 4026 Depends: libc6 (>= 2.25), debconf (>= 0.5) | debconf-2.0 Breaks: isync (« 1.3.0-2), lighttpd (« 1.4.49-2), python-boto (« 2.44.0-1.1), python-httplib2 (« 0.11.3-1), python-imaplib2 (« 2.57-5), python3-boto (« 2.44.0-1.1), python3-imaplib2 (« 2.57-5) Filename: pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.3_amd64.deb Size: 1319504 MD5sum: af0afcd845dbfbf2d469255db240bd2e SHA1: 936fd261974511d3846e606ab234a7591e059f3b SHA256: 2c1fbe15eeebdf13fecfde66b917b3d6eec1bacf495d85152170a2b3f76752a6 SHA512: 02f1d3c1f1a4e7ac04da961393981dfda56e9029eb17647713289f8de30f23cc5767b4a9176bd00d761ed6b7d7d79a0b5e6fe987d1fc0e5eab1c6adb12a7fec5 Homepage: https://www.openssl.org/ Description-en: Secure Sockets Layer toolkit - shared libraries This package is part of the OpenSSL project’s implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet.

It provides the libssl and libcrypto shared libraries. Task: minimal

Package: libssl1.1 Architecture: amd64 Version: 1.1.1f-1ubuntu2 Multi-Arch: same Priority: important Section: libs Source: openssl Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian OpenSSL Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 4026 Depends: libc6 (>= 2.25), debconf (>= 0.5) | debconf-2.0 Breaks: isync (« 1.3.0-2), lighttpd (« 1.4.49-2), python-boto (« 2.44.0-1.1), python-httplib2 (« 0.11.3-1), python-imaplib2 (« 2.57-5), python3-boto (« 2.44.0-1.1), python3-imaplib2 (« 2.57-5) Filename: pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_amd64.deb Size: 1318204 MD5sum: 1cd1b6ba2a30a42580c01e92a6278281 SHA1: 4625677908129ce12fc15b821d9e70d76eddf02c SHA256: 09ee28588a1fb5613ddc6c26a992d5a76931b3cf22c022930da413a5e580599e Homepage: https://www.openssl.org/ Description-en: Secure Sockets Layer toolkit - shared libraries This package is part of the OpenSSL project’s implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet.

It provides the libssl and libcrypto shared libraries. Task: minimal

There are three methods to install libssl1.1 on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libssl1.1 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libssl1.1 using apt-get by running the following command:

sudo apt-get -y install libssl1.1

Install libssl1.1 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libssl1.1 using apt by running the following command:

sudo apt -y install libssl1.1

Install libssl1.1 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libssl1.1 using aptitude by running the following command:

sudo aptitude -y install libssl1.1

How To Uninstall libssl1.1 on Ubuntu 20.04

To uninstall only the libssl1.1 package we can use the following command:

sudo apt-get remove libssl1.1

Uninstall libssl1.1 And Its Dependencies

To uninstall libssl1.1 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove libssl1.1

Remove libssl1.1 Configurations and Data

To remove libssl1.1 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libssl1.1

Remove libssl1.1 configuration, data, and all of its dependencies

We can use the following command to remove libssl1.1 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libssl1.1

References

Summary

In this tutorial we learn how to install libssl1.1 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.