Ubuntu / Debian中如何使用新的高级软件包工具(APT)的示例

0
20

* 使用APT时查找帮助

apt help

  • 清理已下载软件包的旧包

sudo apt autoclean
or
sudo apt clean

  • 删除未使用的软件包

sudo apt autoremove

  • 升级系统

sudo apt upgrade

  • 查看关于包的信息

sudo apt show nginx

  • 搜索一个包

sudo apt search apache2

  • 检查所有依赖关系
sudo apt depends nginx

发布回复

请输入评论!
请输入你的名字