CentOS---yum
yum命令
yum:RPM包软件管理器,用于自动化安装配置linux软件,并可以自动解决依赖问题
语法:yum [-y] [install] | [remove] | [search] 软件名称
--选项 : -y ,自动确认,无需手动确认安装或者卸载过程
--install:安装
-- remove:卸载
--search :搜索
yum命令需要root权限,可以su切换到root,或者使用sudo进行授权
yum命令需要联网
Ubuntu---apt
apt [-y] [install] | remove | search | 软件名称
用法基本和yum一致,同样需要root权限
--apt install wget ,安装wget
--apt remove wget,移除wget
--apt search wget ,搜索wget