码迷,mamicode.com
首页 > 其他好文 > 详细

dev盘满了

时间:2018-03-22 23:49:58      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:sdn   cti   pkg   purge   卸载   max   details   grep   apt   

1.卸载 linux版本

https://blog.csdn.net/lgz_ei/article/details/68592265

uname -a #当前用户使用版本

sudo apt-get remove linux-image-xxxx

dpkg --get-selections|grep linux-image

sudo /usr/sbin/update-grub

2.找大的文件卸载

du --max-depth=1 -h / #找大文件

切到对应目录

du -sh *

发现 font目录较大,,切入再发现wps-font 较大

果断卸载wps 

sudo dpkg -l |grep wps

sudo apt-get remove wps-office

其他两个字体

sudo apt-get purge fonts-arphic-uming

sudo apt-get purge fonts-arphic-ukai

dpkg -l |grep -i font    #查询安装了的font

 

dev盘满了

标签:sdn   cti   pkg   purge   卸载   max   details   grep   apt   

原文地址:https://www.cnblogs.com/billhsu2009/p/8627631.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!