Install OpenSSL on Linux/Ubuntu

Install OpenSSL on Linux Ubuntu System

If you want to install OpenSSL on Linux or Linux based distribution operating systems such as Ubuntu, you can do that using apt-get package tool,

First in order to check if OpenSSL is already installed type the command, openssl in the Terminal on any prompt that you are on (Bash, Zsh, Sh, etc.), you will get an error command not found openssl

# openssl
zsh: command not found: openssl
# openssl  
bash: openssl: command not found
# openssl
sh: 1: openssl: not found
How to install OpenSSL:
# sudo apt-get install openssl

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 599 kB of archives.
After this operation, 1242 kB of additional disk space will be used.
Get:1 focal-updates/main arm64 openssl arm64 1.1.1f-1ubuntu2.12 [599 kB]
Fetched 599 kB in 2s (288 kB/s)                     
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package openssl.
(Reading database ... 20051 files and directories currently installed.)
Preparing to unpack .../openssl_1.1.1f-1ubuntu2.12_arm64.deb ...
Unpacking openssl (1.1.1f-1ubuntu2.12) ...
Setting up openssl (1.1.1f-1ubuntu2.12) ...
Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap