安装软件
下载软件的源网址所放目录 vi /etc/apt/sources.list
sudo apt-get update 更新源
sudo apt-get install xxx 安装软件,xxx为软件名
sudo apt-get build-dep xxx 安装相关的编译环境
sudo apt-get remove xxx 删除包
sudo apt-get remove xxx –purge 删除xxx及配置信息
sudo apt-cache search xxx 搜索软件包
sudo apt-cache show xxx 获取xxx的信息,大小,版本等
sudo apt-get install xxx –reinstall 重新安装包
sudo apt-get -f install 修复安装
sudo apt-get upgrade 更新已安装的包
sudo apt-get dist-upgrade 更新系统
sudo apt-cache depends xxx 了 解使用xxx依赖的包