Debian系列软件管理(第二版)

Debian系列软件管理

1、搜索软件包信息

apt-cache search

apt-cache search yum

 

2、查看软件包信息

apt-cache show rpm

 

3、安装软件

apt-get install rpm

选项: apt-get reinstall 覆盖安装

-f 修复安装

 

4、卸载,与YUM类似

apt-get remove rpm

选项: apt-get autoremove rpm 自动解决依赖关系

--purge 不报留配置文件

 

5、更新软件源

apt-get update

 

6、更新已安装软件包

apt-get upgrade

原文地址:https://www.cnblogs.com/itrena/p/5927038.html