Ubuntu安装gnome-shell桌面环境

1、sudo apt-get install gnome-shell

  输入命令直接回车就行了

2、出现了这个问题 Unable to locate package ??

  sudo apt-get update

  更新下就好了

3、太难看 我要卸载了

  1、卸载掉gnome-shell主程序

      sudo apt-get remove gnome-shell

  2、卸载掉gnome

      sudo apt-get remove gnome

  3、卸载不需要的依赖关系

    sudo apt-get autoremove

  4、彻底卸载删除gnome的相关配置文件

    sudo apt-get purge gnome

  5、清理安装gnome时候留下的缓存程序软件包

      sudo apt-get autoclean

      sudo apt-get clean

4、安装个unity吧

  sudo apt-get install ubuntu-desktop

  sudo apt-get install unity

  sudo apt-get install unity-common

  sudo apt-get install unity-lens*

  sudo apt-get install unity-services

  sudo apt-get install unity-asset-pool

  

原文地址:https://www.cnblogs.com/lljh/p/7218053.html