I would like to install pip packages on a Linux CentOS without internet access

Issues related to applications and software problems
Post Reply
serban123
Posts: 3
Joined: 2019/08/30 10:25:54

I would like to install pip packages on a Linux CentOS without internet access

Post by serban123 » 2019/09/06 08:49:22

I have a Linux CentOS without internet access and I need to install some python packages.

My pc runs Windows 8.1

Can I download the .whl files and send them with WinSCP ?

From where can I download manually pip packages for Linux ? Because if I download with pip on windows the files are .exe


Thanks in advance

bonedome
Posts: 95
Joined: 2017/04/22 08:11:04

Re: I would like to install pip packages on a Linux CentOS without internet access

Post by bonedome » 2019/09/07 17:42:41

Hello
I'm guessing you could download each required rpm from epel and centos repos here http://download.fedoraproject.org/pub/epel/7/ here http://mirror.centos.org/centos/7.6.181 ... /Packages/ and here http://mirror.centos.org/centos/7.6.181 ... /Packages/ should redirect to your local mirror site.
If you're not using CentOS 7.6.1810 go to http://mirror.centos.org/centos/ and choose the version you have.
Only you won't be able to use pip to update anything without internet.

Post Reply

Return to “CentOS 7 - Software Support”