ubuntu常用软件包deb的安装与卸载

ubuntu常用软件包deb的安装与卸载

主要用到apt-get dpkg两个命令:

安装软件 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……
修正(依赖关系)安装:apt-get -f install2011大智慧下载

安装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 xx
posted @ 2011-05-26 09:54  ctou45  阅读(600)  评论(0编辑  收藏  举报