Linux(二)_清理空间

以下命令是笔者清理空间时用到的命令,也许能给各位读者一些参考。

1.更新软件包列表

sudo apt update

2.安装tmpreaper

sudo apt install tmpreaper
sudo tmpreaper -v 1d /tmp

3.清理旧版本的软件缓存

sudo apt-get autoclean

4.清理所有软件缓存

sudo apt-get clean 

5.删除系统不再使用的孤立软件

sudo apt-get autoremove 

6.conda缓存清理

conda clean --all
相关推荐
lingllllove7 分钟前
使用 HTTP::Server::Simple 实现轻量级 HTTP 服务器
服务器·网络协议·http
Linux运维老纪29 分钟前
K8s之Service详解(Detailed Explanation of K8s Service)
服务器·网络·云原生·容器·kubernetes·云计算·运维开发
程序猿编码1 小时前
自定义命令执行器:C++中命令封装的深度探索(C/C++实现)
linux·c语言·c++·网络安全·shell·命令行
神秘剑客_CN2 小时前
使用windows笔记本让服务器上网
运维·服务器·windows
黑牛先生3 小时前
【Linux】动静态库
linux·运维·服务器
vortex53 小时前
Shell基础:中括号的使用
linux·运维·bash·shell
基哥的奋斗历程3 小时前
Docker 常用命令
运维·docker·容器
HEX9CF5 小时前
【Docker】快速部署 Nacos 注册中心
运维·docker·容器
从未止步..6 小时前
Jenkins未在第一次登录后设置用户名,第二次登录不进去怎么办?
java·运维·jenkins