apt:
更新包列表: apt-get update
更新系统: apt-get upgrade
列出源: cat /etc/apt/sources.list
添加源: edit /etc/apt/sources.list
移除源: edit /etc/apt/sources.list
列出已安装包: dpkg -l
yum:
更新包列表: yum check-update
更新系统: yum update
列出源: yum repolist
添加源: (add to /etc/yum.repos.d)
移除源: (remove to /etc/yum.repos.d)
列出已安装包: rpm -qa
阅读(683) | 评论(0) | 转发(0) |