How to install a package on a machine which does not have internet access?
-
download apt-offline .deb package file from
https://packages.ubuntu.com
and transfer it to offline machine -
install apt-offline
sudo dpkg -i apt-offline_<version>_all.deb