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的系统)

 

时间: 2024-08-08 03:34:24

centos和ubuntu安装python-pip,python包的管理工具的相关文章

SQL Server 2005 安装后,没有Management Studio管理工具的解决办法

如果您在安装SQL Server 2005之前安装了Visual Studio .NET 2005或2008,并且在安装VS时选择了SQL Server 2005 Express,那么很不幸,SQL Server 2005安装后,您将找不到Management Studio管理工具. 要解决这个问题,可以有以下几种方法: 先安装SQL Server 2005,后安装VS. 将系统中所有与SQL Server相关的程序卸载干净,然后安装SQL Server 2005. 在安装VS的时候,不要选择S

CentOS和Ubuntu安装软件命令对比(区别)

此表内容来自<Ubuntu Server最佳方案>,CentOS和Ubuntu(Debian)是VPS最常见的系统,这份表很实用,分享下

程序包前端管理工具yum,及仓库配置

        简单分析yum的用法. 1:yum 是什么? 英文全称为 yellow dog update modify. 直译过来肯定是不对的.大体的意思为程序包管理. 2:yum有什么用? yum 的用处可就大了. 是一种能帮助我们管理程序包的工具.正是因为这个工具,让我们安装,卸载程序包时,只要执行一个命令,就能搞掂.背后的复杂操作,如安装时的依赖关系,查询时文件的路径在哪里,卸载时文件的路径又在哪里,等等这些复杂繁琐的操作都经我们隐藏了. 就像上帝说,让人间有阳光,于是就有了阳光一样.

Centos7 安装配置OpenLdap服务及OpenLdap管理工具

我们上一篇文章中介绍了,Centos7+Openvpn使用Windows AD(LDAP)验证登录的配置介绍.说到LDAP服务,我们知道不止windows有,linux下也有,比如openldap,sambaLDAP服务,具体就不多介绍了,我们今天主要介绍一下Centos7 安装配置OpenLdap及Ldap管理工具等操作,为后面的Centos7+Openvpn+openldap验证登录做好基础. 我们首先配置一个指定源,我们源地址指向了阿里云的仓库源 cd /etc/yum.repos.d v

Ubuntu安装MySQL和Python库MySQLdb步骤

一.安装MySQL服务器和客户端 执行以下命令: sudo apt-get install mysql-server-5.6 mysql-client-5.6 sudo apt-get install libmysqlclient-dev libmysqld-dev 二.Python安装MySQLdb库 执行以下命令: sudo apt-get install python-pip sudo apt-get install python-dev sudo pip install mysql-py

centos及ubuntu安装 Puppeteer/rendertron所需的依赖包

安装谷歌的Puppeteer/rendertron时需要安装一些依赖包, 否则会报错, 整体如下: ubuntu:apt install gconf-service libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-

[ubuntu]安装并使用python 3.6及与2.7的切换

参考自:https://blog.csdn.net/qq_15695761/article/details/77502788 当前使用ubuntu14.04 1.添加python3.6安装包,并安装(也可以去官网下载安装包) [html] view plain copy <code class="language-python">sudo apt-get install software-properties-common</code> sudo add-apt

haproxy基于centos和Ubuntu安装

Ubuntu18.04 apt 安装2.0.4Centos7.6 Yum安装1.8.14Centos7.6编译安装haproxy2.0.12 <h6 id=1>Ubuntu18.04 apt 安装2.0.4</h6> [email protected]:~# apt-get install software-properties-common#安装常用软件包 Reading package lists... Done Building dependency tree Reading

CentOS无法使用yum安装gcc等依赖包

2017/6/26 在使用CentOS的yum -y install  时 可以先进入  /etc/yum.repos.d/ 文件下,将CentOS-Base.repo文件名改为CentOS-Base.repo.bak使其失效 从而让系统使用CentOS-Media.repo文件 对CentOS-Media.repo文件进行修改 源文件内容如下 修改后 要注意,该地址是iso挂载的地址 若未进行挂载,将会发生以下错误 出现此问题是因为yum源里配置了baseurl=file:///media/c