Ubuntu20.10减肥
卸载无用内核
dpkg --get-selections |grep linux-image
linux-image-5.8.0-25-generic install
linux-image-generic-hwe-20.04 install
apt remove linux-image-generic-hwe-20.04
apt autoremove
禁止自动更新
1 apt-mark hold linux-image-5.8.0-25-generic or apt-mark hold linux-image-generic linux-headers-generic
2 vi /etc/apt/apt.conf.d/10periodic
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";
3 vi /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "0";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Periodic::Unattended-Upgrade "0";
卸载桌面
apt remove gnome-shell gnome
apt autoremove
apt purge gnome
apt autoclean
apt clean
apt remove ubuntu-desktop
apt remove libreoffice-common
apt remove thunderbird totem rhythmbox empathy brasero simple-scan gnome-mahjongg aisleriot gnome-mines cheese transmission-common gnome-orca gnome-sudoku
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步