If it fails to install, and gives you this error message:apt-get install libssl-dev
The following packages have unmet dependencies:Execute these commands to get libssl-dev:
libssl-dev: Depends: libssl0.9.8 (= 0.9.8k-7ubuntu8.6) but 0.9.8k-7ubuntu8.8 is to be installed
E: Broken packages
wget http://mirror.omadata.com/ubuntu/pool/main/o/openssl/libssl-dev_0.9.8k-7ubuntu8.8_i386.deb
dpkg -i libssl-dev_0.9.8k-7ubuntu8.8_i386.deb
apt-get install libssl-dev