When I use \'apt-get install openssl\', my Ubuntu 16.04 install OpenSSL 1.0.2g version. I expect to install 1.1.0 versions.
Why is not install 1.1.0 version? How can
You should choose the version you want to install on the OpenSSL's site. It seems you want to install the 1.1.0. So, do as it follows.
wget https://www.openssl.org/source/openssl-1.1.0f.tar.gz
tar xzvf openssl-1.1.0f.tar.gz
cd openssl-1.1.0f
./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)'
make
sudo make install
openssl version -a
It is done. It is as simple as that. Good luck with it.