Centos 7 安装GNOME桌面环境
Posted gentsir
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos 7 安装GNOME桌面环境相关的知识,希望对你有一定的参考价值。
第一步:列出可安装的桌面环境
[[email protected] ~]# yum grouplist
第二步:安装GNOME及相应桌面管理工具
[[email protected] ~]# yum group info "Graphical Administration Tools" # 查看安装的包有哪些内容
[[email protected] ~]# yum -y groups install "GNOME DESKTOP" "Graphical Administration Tools"
第三步:设置开机启动为GNOME
[[email protected] ~]# systemctl set-default graphical.target
第四步:重启
[[email protected] ~]# reboot
第五步:安装相应软件
1)五笔
[[email protected] ~]#yum install ibus ibus-table-wubi
2)sublime
下载sb3 http://www.sublimetext.com/3
解压到 /usr/local 目录
编辑 /usr/local/sublime_text_3/sublime_text.desktop ,红色为修改内容
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/usr/local/sublime_text_3/sublime_text %F
Terminal=false
MimeType=text/plain;
Icon=/usr/local/sublime_text_3/Icon/48x48/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=/usr/local/sublime_text_3/sublime_text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/usr/local/sublime_text_3/sublime_text --command new_file
OnlyShowIn=Unity;
把图标添加到快捷启动
[[email protected] ~]#cp sublime_text.desktop /usr/local/share/applications/
3)smartgit
下载st https://www.syntevo.com/smartgit/download/
解压到 /usr/local 目录
添加桌面快捷启动图标
[[email protected] ~]#/usr/local/smartgit/bin/add-menuitem.sh
安装git
[[email protected] ~]#yum -y install git
4)google chrome
以上是关于Centos 7 安装GNOME桌面环境的主要内容,如果未能解决你的问题,请参考以下文章