Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Offline pip installation

Tags:

python

pip

redhat

How can I install pip in an offline server? I have SSH access and can send files via scp. The server has Red Hat.

I did this https://pip.pypa.io/en/stable/installing.html#install-pip but tries to download something.

Is there a way to package pip and all its dependencies, so then I can send that to the server and install it from there? I already did this with python packages that to install with pip.

like image 473
user2121530 Avatar asked Oct 20 '25 14:10

user2121530


1 Answers

  1. Download python-pip yum package. pip RHEL install, yum download package
  2. Move it to your offline machine
  3. Yum it
like image 60
mingaleg Avatar answered Oct 23 '25 03:10

mingaleg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!