- Open the terminal and enter the following command to update the package list:
sudo apt update
- Enter the following command to install OpenSSL:
sudo apt install openssl
- Enter the following command to verify that OpenSSL has been successfully installed:
openssl version
- You can input the following command to install the OpenSSL development package.
sudo apt install libssl-dev
- Once the installation is complete, you can start using OpenSSL to generate certificates, encrypt data, and perform other operations.