Linux, OpenSSL: How to install OpenSSL from Sources in Linux

robert@i5:~/Downloads$ mkdir openssl
robert@i5:~/Downloads/openssl$ mkdir openssl

robert@i5:~/Downloads/openssl$ wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz
robert@i5:~/Downloads/openssl$ tar -xvzf openssl-1.0.1g.tar.gz
robert@i5:~/Downloads/openssl$ cd openssl-1.0.1g

robert@i5:~/Downloads/openssl$ ./config
robert@i5:~/Downloads/openssl$ make depend
robert@i5:~/Downloads/openssl$ make
robert@i5:~/Downloads/openssl$ make test
robert@i5:~/Downloads/openssl$ sudo make install

robert@i5:~/Downloads/openssl$ openssl version