CentOS安装卸载桌面环境
·使用yum grouplist,列出已经安装和可以安装的软件组,
·yum groupinstall “X Window System”,安装桌面基础环境,桌面的基础,必须装的,
·yum groupinstall “Desktop”,安装桌面系统,
·yum groupinstall “Chinese Support”,安装中文支持,
·安装centos时,如果默认选择的是英文,需要修改/etc/sysconfig/i18n,将LANG修改为LANG="zh_CN.UTF-8,
安装GNOME桌面环境:
·yum groupinstall "GNOME Desktop Environment" ,安装GNOME桌面环境,
· yum groupremove "GNOME Desktop Environment" ,卸载GNOME桌面环境,
安装KDE桌面环境:
·yum groupinstall "KDE Desktop",安装KDE桌面环境,
·yum groupinstall "KDE (K Desktop Environment)",安装KDE桌面环境,
·yum groupremove "KDE (K Desktop Environment)",卸载KDE桌面环境 ,
·startx启动图形界面,
·startkde启动KDE桌面环境