My Blog JAVA

My Blog JAVA

导航

<2006年9月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

统计

常用链接

留言簿(4)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜

Apt 使用备忘

命令                                                               作用
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-cache search package                 搜索包
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-cache show package                   获取包的相关信息,如说明、大小、版本等
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get install package                      安装包
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get install package - - reinstall    重新安装包
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get remove package                   删除包
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get remove package - - purge    删除包,包括删除配置文件等
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get update                                   更新源
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get dist-upgrade                          升级系统
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get -f install                                  强制安装
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-cache depends package             了解使用依赖
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-cache rdepends package            了解某个具体的依赖
----------------------------------------------------------------------------------------------------------------------------------------
sudo apt-get build-dep package                 安装相关的编译环境
----------------------------------------------------------------------------------------------------------------------------------------

posted on 2006-09-23 01:09 My JAVA Blog 阅读(280) 评论(0)  编辑  收藏