ubuntu20.04 TLS Server升级后安装了gnome桌面环境

最近安装ubuntu20.04 服务器版,但是更新后变成了桌面版的了,让我很纳闷,只好一个一个的卸载

# 卸载gnome
sudo apt-get remove gnome -y
# 卸载 gnome-shell
sudo apt-get remove gnome-shell -y
# 彻底卸载删除gnome的相关配置文件
sudo apt-get purge gnome -y
# 卸载臃肿的服务组件
sudo apt-get remove snapd -y
# 卸载依赖组件
sudo apt-get autoremove -y
# 清理安装gnome时候留下的缓存程序软件包
sudo apt-get autoclean
sudo apt-get clean
# 重启系统
sudo reboot 
sudo shutdown -r now

猜你喜欢

转载自blog.csdn.net/qq980338445/article/details/117389829