Centos 7 安裝GNOME桌面環境

gentsir發表於2019-01-21

  第一步:列出可安裝的桌面環境

[root@local ~]# yum grouplist

 

  第二步:安裝GNOME及相應桌面管理工具

[root@local ~]# yum group info  "Graphical Administration Tools" # 檢視安裝的包有哪些內容
[root@local ~]# yum -y groups install "GNOME DESKTOP" "Graphical Administration Tools"

 

  第三步:設定開機啟動為GNOME

[root@local ~]# systemctl set-default graphical.target

 

  第四步:重啟

[root@local ~]# reboot

 

  第五步:安裝相應軟體

    1)五筆

[root@local ~]#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;

  把圖示新增到快捷啟動

[root@local ~]#cp sublime_text.desktop /usr/local/share/applications/

 

  3)smartgit

  下載st https://www.syntevo.com/smartgit/download/

  解壓到  /usr/local 目錄

  新增桌面快捷啟動圖示

[root@local ~]#/usr/local/smartgit/bin/add-menuitem.sh

   安裝git

[root@local ~]#yum -y install git

 

  4)google chrome

 

相關文章