centos和ubuntu安装python-pip,python包的管理工具

对于centos: (基于小红帽的系统)

需要先安装epel-release

运行

yum install epel-release

yum install wget

对于cent os 7.x(x86*64)

rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm

对于cent os 6.x(x86*64)

 rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

对于cent os 6.x(i386)

rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

对于cent os 5.x(x86*64)

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

对于cent os 5.x(i386)

rpm -ivh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

然后安装pip

yum install -y python-pip

对于ubuntu:(基于Debian的系统)

 

  1. # apt-get install Python (基于Debian的系统)
  2. # apt-get install python-pip (基于Debian的系统)

 

你可能感兴趣的:(centos和ubuntu安装python-pip,python包的管理工具)