apt-get指令的autoclean,clean,autoremove的区别
来源:互联网 发布:国泰君安富易软件 编辑:程序博客网 时间:2024/04/27 13:40
下面总结一下有关apt-get的常用但容易混淆的指令:
apt-get autoclean
:
如果你的硬盘空间不大的话,可以定期运行这个程序,将已经删除了的软件包的.deb安装文件从硬盘中删除掉。如果你仍然需要硬盘空间的话,可以试试apt-get clean
,这会把你已安装的软件包的安装包也删除掉,当然多数情况下这些包没什么用了,因此这是个为硬盘腾地方的好办法。
apt-get clean
:
类似上面的命令,但它删除包缓存中的所有包。这是个很好的做法,因为多数情况下这些包没有用了。但如果你是拨号上网的话,就得重新考虑了。
apt-get autoremove
:
删除为了满足其他软件包的依赖而安装的,但现在不再需要的软件包。
其它:
apt-get remove 软件包名称
:
删除已安装的软件包(保留配置文件)。
apt-get --purge remove
软件包名称
:
删除已安装包(不保留配置文件)。
from : http://blog.csdn.net/flydream0/article/details/8620396
0 0
- apt-get指令的autoclean,clean,autoremove的区别
- apt-get指令的autoclean,clean,autoremove的区别
- apt-get指令的autoclean,clean,autoremove的区别
- apt-get指令的autoclean,clean,autoremove的区别
- apt-get指令的autoclean,clean,autoremove的区别
- apt-get指令的autoclean,clean,autoremove的区别
- apt-get指令的autoclean,clean,autoremove的区别
- apt-get指令的autoclean,clean,autoremove的区别
- ubuntu下apt-get指令中autoclean,clean,autoremove,--purge remove说明
- ubuntu下apt-get指令中autoclean,clean,autoremove,--purgeremove说明
- apt-get remove, apt-get autoremove和aptitude remove的区别
- apt-get remove, apt-get autoremove和aptitude remove的区别
- apt-get remove, apt-get autoremove和aptitude remove的区别
- apt-get autoremove不能删除包的解决方法
- apt-get remove 与 apt-get autoremove、aptitude remove的不同
- apt-get remove 与 apt-get autoremove、aptitude remove的不同
- apt-get remove 与 apt-get autoremove、aptitude remove的比较
- apt-get autoremove命令
- 黑马程序员-Java中的properties类
- java的字符串常量池(转)
- 黑马程序员——java多线程的两种实现方式
- iOS7.0 UILabel 字符串的绘制和自动换行
- Android的四大组件
- apt-get指令的autoclean,clean,autoremove的区别
- 数据不需要自由,但需要做爱
- myeclipse 选中文字的操作方式
- 【读书笔记】【收获,不止Oracle】位图索引(2)
- Code Forces 414B 挺不错的递推动规
- 第06章-图像处理及可视化(2)
- 如何编写C2000片内Flash?
- 实际用户ID,有效用户ID及设置用户ID详解
- 浅谈并发服务器---多进程并发---2