【转】Ubuntu 安装和卸载命令

安装软件                     apt-get install softname1 softname2 softname3……
卸载软件                     apt-get remove softname1 softname2 softname3……
卸载并清除配置           apt-get remove --purge softname1
更新软件信息数据库    apt-get update
进行系统升级               apt-get upgrade
搜索软件包                  apt-cache search softname1 softname2 softname3……

安装deb软件包              dpkg -i xxx.deb
删除软件包                    dpkg -r xxx.deb
连同配置文件一起删除   dpkg -r --purge xxx.deb
查看软件包信息              dpkg -info xxx.deb
查看文件拷贝详情          dpkg -L xxx.deb
查看系统中已安装软件包信息 dpkg -l
重新配置软件包              dpkg-reconfigure xxx

猜你喜欢

转载自shoukii0721.iteye.com/blog/1591515
今日推荐