首页 > 代码库 > yum install 图形化界面和语言包

yum install 图形化界面和语言包

1、查看系统是否安装图形化界面

     yum grouplist |grep "Desktop"

    yum grouplist  "Desktop"

    yum grouplist  "X Window System"

    yum grouplist |grep "X Window System"    

2、安装图形化界面包

    yum groupinstall "Desktop"

    yum groupinstall "X Window System"

3、查看系统是否安装中文包

    yum grouplist |grep "Chinese Support"

    yum grouplist "Chinese Support"

4、安装中文包

    yum groupinstall "Chinese Support"

    

注意:minial CentOS安装,如果默认选择的是英文,需要修改/etc/sysconfig/i18n,将LANG修改为LANG=”zh_CN.UTF-8”

sed -i ‘s/LANG=.*/LANG="zh_CN.UTF-8"/‘ /etc/sysconfig/i18n


本文出自 “旅游人生” 博客,请务必保留此出处http://felixgzf.blog.51cto.com/4108324/1847300

yum install 图形化界面和语言包