使用 apt 工具释放磁盘空间:
sudo apt-get autoclean — 清理旧版本软件缓存sudo apt-get clean — 清理所有软件缓存sudo apt-get autoremove — 删除不再使用的孤立包ls ~/.opera/cache4ls ~/.mozilla/firefox/*.default/Cachegtkorphan(sudo apt-get install gtkorphan -y)deborphan(sudo apt-get install deborphan -y)Tracker 产生大量缓存并可能拖慢开机,建议在新装系统时直接卸载。
dpkg --get-selections | grep linux(带 image 者为内核文件)uname -asudo apt-get remove 内核文件名(如 linux-image-2.6.27-2-generic)/var/cache/apt/archives/var/cache/apt/archives/partial