How to install openssl-devel on Ubuntu using apt-get ?

How to install openssl-devel on Ubuntu using apt-get ?

When i was trying to compile “nrpe” package on an Ubuntu Server, following error was thrown during “configure”

Error message is pretty verbose and says ssl library files are missing on the server. So we need to install it first before proceeding.

On Centos machines you can install the libraries using “yum” repo manager like following

On Ubuntu, when you try the same with “apt-get” install

It is not able to find a package named “openssl-devel” . After little bit googling, i found out there is a similar package named “libssl-dev”

Now we will check the info for newly installed package

This package provides libraries and header files for “libssl” and “libcrypto”

 

Leave a Reply

Your email address will not be published. Required fields are marked *