我的系统盘满了,怎么清理?
Tofloor
poster avatar
vevw3000
deepin
2017-04-29 05:55
Author
我就我的系统盘20G 满了,怎么清理?我就只装了个系统
Reply Favorite View the author
All Replies
avatar
h***w@163.com
deepin
2017-04-29 06:22
#1
清/var 下的缓存目录试试
Reply View the author
avatar
MeowSprite
deepin
2017-04-29 06:35
#2
  1. sudo apt-get clean
  2. sudo rm -rf /var/log/journal/*
Copy the Code
一个是清理缓存的安装包,一个是清理历史日志文件,就这俩东西最占用空间了
Reply View the author
avatar
155******68
deepin
2017-04-29 18:23
#3
楼主,以我个人经验,还有1种可能,就是雷鸟邮件。。。上次邮件占了8个G。。。。4000封邮件
Reply View the author
avatar
billy123456
deepin
2017-04-30 03:07
#4
sudo apt autoremove&&sudo apt clean
Reply View the author
avatar
billy123456
deepin
2017-04-30 03:08
#5
一般来说/home是系统最大的目录
Reply View the author
avatar
饮料再好也比不上麦芽发酵
deepin
2017-06-28 19:50
#6
https://bbs.deepin.org/post/138625
一般来说/home是系统最大的目录

同意,/home是磁盘占用大户
Reply View the author
avatar
herdde
deepin
2017-06-28 20:20
#7
你要做主系统吗?
Reply View the author
avatar
luxwen
deepin
2017-06-28 23:36
#8
本帖最后由 luxwen 于 2017-6-28 15:38 编辑

直接cd /;sudo du -shx * 查看根目录下各个目录的大小
然后依次查找哪个目录的哪个文件最大
Reply View the author
avatar
billy123456
deepin
2017-06-29 01:09
#9
https://bbs.deepin.org/post/138625
直接cd /;sudo du -shx * 查看根目录下各个目录的大小
然后依次查找哪个目录的哪个文件最大
...

这样肯定得到/home最大
Reply View the author
avatar
q1377195627
deepin
2017-06-29 21:40
#10
长期用还是吧根分区调大到40g,单独分home分区吧,我30g都满了,170g home也炸了
Reply View the author
avatar
impressionyang
deepin
2017-08-25 21:42
#11
本帖最后由 impression 于 2017-8-25 13:45 编辑
https://bbs.deepin.org/post/138625
sudo apt autoremove&&sudo apt clean

这个命令是用来卸载什么的?


补充:额。。。。。。。。。。。。
apt-get autoremove:    删除为了满足其他软件包的依赖而安装的,但现在不再需要的软件包。


好像明白了,执行了这条命令后各种删已安装的依赖,把我吓得不轻,原来自己装了那么多的无用依赖。。。。。。

Reply View the author
avatar
herdde
deepin
2017-08-26 01:17
#12
https://bbs.deepin.org/post/138625
直接cd /;sudo du -shx * 查看根目录下各个目录的大小
然后依次查找哪个目录的哪个文件最大
...

怎样在linux找到顶级文件或目录(占有磁盘空间)http://www.448569.gove.cn/article/1167127.html
Reply View the author
avatar
White_Dew4frost
deepin
2018-07-22 16:19
#13
我的深度三个分区:/,home,swap,根分区20G,现基本爆满,怎么清理?apt-get autoremove已经用过了,程序缓存已经清理过了,怎么做才能释放出空间?求解!请高手指点!

Reply View the author
avatar
linusboyle
deepin
2018-07-22 18:31
#14
ncdu 看看什么最大,删之
Reply View the author