Chinaunix
标题:
Ubuntu中用apt安装和卸载软件
[打印本页]
作者:
qspy
时间:
2008-08-26 11:30
标题:
Ubuntu中用apt安装和卸载软件
查找软件
命令: apt-cache search keyword
查询软件状态
命令: apt-cache policy softname
引用: http://www.zishu.cn/blogview.asp?logID=684
安装软件
命令: 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软件包相关安装与卸载
安装deb软件包
命令: dpkg -i xxx.deb
更多命令请参见:《
UbuntuHelp:AptGet/Howto
》
本文来自ChinaUnix博客,如果查看原文请点:
http://blog.chinaunix.net/u2/77230/showart_1148897.html
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2