Ubuntu技巧之清理系统中无用的软件包
来源:互联网 发布:mac怎么打开html文件 编辑:程序博客网 时间:2024/06/06 01:13
如何清理Ubuntu系统中软件包
如果你频繁的在你的系统中安装/卸载,那么不时的清理一下你的系统是十分必要的。
在Ubuntu终端中执行如下命令:
sudo apt-get autoremove
屏幕输出是这个样子的:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libcommoncpp2-1.5.3-0
The following packages will be REMOVED
libcommoncpp2-1.5.3-0
0 upgraded, 0 newly installed, 1 to remove and 29 not upgraded.
Need to get 0B of archives.
After unpacking 688kB disk space will be freed.
Do you want to continue [Y/n]?
输入“Y”就可以删除这些包。
英文原文:
It’s worthwhile to do this every now again again on your ubuntu box when you’ve been installing and uninstalling new apps. This will go through and check which packages have been installed that are no longer needed. It will then remove them for you
sudo apt-get autoremove
Output looks like below
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libcommoncpp2-1.5.3-0
The following packages will be REMOVED
libcommoncpp2-1.5.3-0
0 upgraded, 0 newly installed, 1 to remove and 29 not upgraded.
Need to get 0B of archives.
After unpacking 688kB disk space will be freed.
Do you want to continue [Y/n]?
Here you need to select Y to remove these packages
- Ubuntu技巧之清理系统中无用的软件包
- 如何清理Ubuntu系统中的无用软件包
- Ubuntu清理无用的软件包级更新源方法
- 在Ubuntu中备份和清理系统软件包
- CSS技巧:清理无用的CSS样式
- [Unity3D]清理material中无用的的property
- 清理ueditor中上传的无用的图片
- Java清理mysql中无用的数据库查询
- 清理Android中无用的drawable资源和values资源
- 自动化清理Android中无用的资源文件。
- 在Ubuntu系统中安装RPM格式软件包的方法
- 在Ubuntu系统中安装RPM格式软件包的方法
- 在Ubuntu系统中安装RPM格式软件包的方法
- 在Ubuntu系统中安装RPM格式软件包的方法
- 在Ubuntu系统中安装RPM格式软件包的方法
- Ubuntu 软件包备份与清理
- ubuntu:更新内核与清理无用文件
- 清理Windows系统目录下几大无用文件夹
- 备份和重置的备份账户
- NIO与IO区别
- 【POJ1987】Distance Statistics ==【POJ1741】 树分治
- 如何在iOS 8中使用CoreLocation定位
- Android总结之Activity启动模式
- Ubuntu技巧之清理系统中无用的软件包
- 在使用 Zxing 开源项目的时候 Activity 关闭
- 黑马程序员-javase 正则表达式
- 亿级用户下的新浪微博平台架构
- ccid驱动支持
- 类似于支付宝双击home键进入后台模糊效果-blurView
- 字符串的全排列
- ios-day12-04(ios开发中数据存储之NSKeyedArchiver归档(NSCoding)、普通对象如何归档、普通对象的子类如何归档)
- 100米下落