Installing OpenSSL from the Source code :
First of all, Download the OpenSSL from the official website download page https://www.openssl.org/source/
tar zxf openssl-VERSION.tar.gz
make make install
This doesn’t update any of the information used by
dpkg -s openssl; that will still refer to the version installed as part of the OS installation.
Depending on what options you passed to
./config, it may also have overwritten the system’s
openssl files. I use
to avoid this. This installs the binaries in
/usr/local/apps/openssl-VERSION/bin, and so forth. You can use a path other than
/usr/local/apps, and you may have to create some of the directories before running
make install. You can use
--prefix=/usr/local to install directly to
/usr/local/lib, etc. If you don’t specify a prefix, it will default to
But that doesn’t mean you haven’t installed it successfully, just that
dpkg won’t be able to tell you anything about your new installation.
specifying the path to your new
openssl executable if necessary, to see what version you have.