1. 首页 > 知识 > Linux

yum、apt-get、curl、wget和pip的使用范围

常用的Linux系统有两种:

RedHat系列:Redhat、Centos、Fedora等

Debian系列:Debian、Ubuntu等

RedHat系列默认包管理工具是yum,Debian默认包管理工具是apt-getpippython包管理工具。

yum

yum 提供了查找、安装、删除某一个、一组甚至全部软件包的命令,而且命令简洁而又好记。

如:

安装:yum install

卸载:yum remove

更新:yum update

apt-get

apt-get是基于Debian的系统中的默认包管理器。基于deb包管理。

如:

安装:apt-get install

卸载:apt-get remove

更新:apt-get update

pip

如:

安装:pip install

卸载:pip uninstall <包名>

curl与wget

curlwget都可以用来下载内容。根据其优劣势,我们可以将curl类比浏览器,将wget类比迅雷(下载工具)。


注:内容来源于网络,已验证。


本文由傻鸟发布,不代表傻鸟立场,转载联系作者并注明出处:https://www.shaniao.net/linux/149.html

加载中~

联系我们

在线咨询:点击这里给我发消息

微信号:

工作日:10:30-15:30,节假日休息