文档 / 软件包管理 Wikipedia

软件包管理

不同发行版使用不同的包管理器,参见 软件包管理系统。

Debian / Ubuntu(apt)

apt update            # 更新索引
apt install -y curl   # 安装
apt remove curl       # 卸载

RHEL / Fedora(dnf)

dnf install -y curl
dnf remove curl
仓库配置一般位于 /etc/apt/sources.list.d/ 或 /etc/yum.repos.d/。

下一步

回到 概览。

本站为静态文档示例站点。文中及导航链接指向 Wikipedia 相关条目,仅供参考。