In this article I will describe how to install Python modules to an offline server. Example will show how to use Pip to download packages in an online server and then install those locally in an offline server.
Following prerequirements are assumed for this example:
- Python 3.6 and PIP installed (this document shows a way: https://developers.redhat.com/blog/2018/08/13/install-python3-rhel)
- Offline target server is accessible and you can transfer files there
- Online server with Internet access