CentOS 8 GNOME和向日葵的安装

发布时间 2023-10-31 00:24:14作者: 终末之诗EndPoem_ZH

CentOS 8 GNOME和向日葵的安装

参考链接:

  1. 安装GNOME3桌面并设置开机启动图形界面 - 知乎

对于安装时选择最小安装、没有安装GNOME的CentOS 8系统,可通过以下方式安装GNOME:

安装GNOME 3

下面仅给出指令,过程说明见参考链接1:

[root@localhost ~]# yum grouplist
[root@localhost ~]# yum groupinstall "Server with GUI"
[root@localhost ~]# systemctl status gdm
● gdm.service - GNOME Display Manager
   Loaded: loaded (/usr/lib/systemd/system/gdm.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
[root@localhost ~]# systemctl enable gdm --now
[root@localhost ~]# systemctl get-default
multi-user.target
[root@localhost ~]# systemctl set-default graphical.target 
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target ¡ú /usr/lib/systemd/system/graphical.target.
[root@localhost ~]# systemctl get-default 
graphical.target

之后重启即可

[root@localhost Downloads]# rpm -i SunloginClient_11.0.1.44968_amd64.rpm
error: Failed dependencies:
webkitgtk3 is needed by sunloginclient-11.0.1.44968-1.x86_64
libappindicator-gtk3 is needed by sunloginclient-11.0.1.44968-1.x86_64

yum install libappindicator-gtk3

http://rpmfind.net/linux/RPM/centos/7.9.2009/x86_64/Packages/webkitgtk3-2.4.11-2.el7.x86_64.html

[root@localhost Downloads]# rpm -ivh webkitgtk3-2.4.11-2.el7.x86_64.rpm
warning: webkitgtk3-2.4.11-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
error: Failed dependencies:
libicudata.so.50()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libicui18n.so.50()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libicuuc.so.50()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libpng15.so.15()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libpng15.so.15(PNG15_0)(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64
libwebp.so.4()(64bit) is needed by webkitgtk3-2.4.11-2.el7.x86_64

rpm -ivh webkitgtk3-2.4.11-2.el7.x86_64.rpm --nodeps