In Ubuntu libssl-dev package implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet. It contains development libraries, header files, and man pages for Libssl and Libcrypto.

It's very simple command to install libssl-dev package in your machine,

$  sudo apt-get update

$  sudo apt-get install libssl-dev

This Package Informations are,

libssl-dev     package information
distro        Ubuntu 14.04 (Trusty Tahr)
section        Main
name        libssl-dev
version        OpenSSL 1.0.1f 6 Jan 2014
description    Secure Sockets Layer toolkit - development files
subsection    libdevel
maintainer    Ubuntu Developers