Apt
Jihongchang(讨论 | 贡献)2022年8月16日 (二) 14:28的版本
https://wiki.debian.org/zh_CN/Apt
Advanced package tool, or APT, is a free-software user interface that works with core libraries to handle the installation and removal of software on Debian, and Debian-based Linux distributions.
apt 是一个命令行包管理器,用来搜索和管理以及查询有关包的信息。
它提供与专用 APT 工具(apt-get 和 apt-cache)相同的功能,但更好用
更新可用软件包列表
root@aade5ae73079:/var/www/html# apt update
配置 APT 源 镜像
备份旧的源配置文件
root@5033aa3ffae0:/etc/apt# cp sources.list sources.list.bak
root@5033aa3ffae0:/etc/apt# rm sources.list
root@5033aa3ffae0:/etc/apt# vim sources.list
替换默认的 archive.ubuntu.com 为 mirrors.aliyun.com