Update OpenSSL on Ubuntu

Modified on Mon, 16 Dec, 2024 at 7:27 PM

OpenSSL is an open-source toolkit for Transport Layer Security (TLS) and Secure Sockets Layer (SSL) protocols, as well as a cryptography library. The purpose of this article is to show how to update OpenSSL on the Ubuntu® operating system.


Check the current OpenSSL version


To verify the OpenSSL installation and version, you can execute the following command:

openssl version -a


Update or install OpenSSL


In case OpenSSL is not installed on your system, use this step to install or update it to the newest version of the OpenSSL package.


Run the following instruction:

sudo apt-get install openssl

Note: If the result line is 0 packages updated, there are no available updates for the OpenSSL package.


Update all system packages


To update all system packages, not only OpenSSL, you need to update the list of available upgrades:

sudo apt-get update

To install all available new versions, run the command:

sudo apt-get upgrade

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article