欧拉操作系统openeuler 安装的时候默认是不带图形界面的,安装完成后如果要使用图形需要手工往系统里面补。
目前为止最新的21.09版本ISO安装完后在线源配置里面EPOL源路径是错误的,需要手工修改一下路径,否则是无法更新源里面的软件包信息的。
[root@localhost ~]# cat /etc/yum.repos.d/openEuler.repo
#generic-repos is licensed under the Mulan PSL v2.
#You can use this software according to the terms and conditions of the Mulan PSL v2.
#You may obtain a copy of Mulan PSL v2 at:
# http://license.coscl.org.cn/MulanPSL2
#THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
#PURPOSE.
#See the Mulan PSL v2 for more details.
[OS]
name=OS
baseurl=http://repo.openeuler.org/openEuler-21.09/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-21.09/OS/$basearch/RPM-GPG-KEY-openEuler
[everything]
name=everything
baseurl=http://repo.openeuler.org/openEuler-21.09/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://repo.openeuler.org/openEuler-21.09/everything/$basearch/RPM-GPG-KEY-openEuler
[EPOL]
name=EPOL
baseurl=http://repo.openeuler.org/openEuler-21.09/EPOL/main/$basearch/
enabled=1
gpgcheck=1
默认安装好后的在线源配置的EPOL源路径需要修改,由原有
baseurl=http://repo.openeuler.org/openEuler-21.09/EPOL/$basearch/
改成
baseurl=http://repo.openeuler.org/openEuler-21.09/EPOL/main/$basearch/
查看dnf makecache的报错,直接浏览器访问EPOL源后发现路径里面需要添加一个main,添加后正常,如果不做这一步,图形部分无法安装,因为统信贡献维护的DDE,KDE,麒麟的UKUI,普华维护的mate,相关包都在这个源里面。
[root@localhost ~]# dnf install mate-desktop
Last metadata expiration check: 0:21:17 ago on 2021年11月17日 星期三 14时15分25秒.
Error:
Problem: conflicting requests
- nothing provides isoft-menus needed by mate-desktop-1.22.2-3.oe1.x86_64
- nothing provides mate-control-center-filesystem needed by mate-desktop-1.22.2-3.oe1.x86_64
- nothing provides mate-notification-daemon needed by mate-desktop-1.22.2-3.oe1.x86_64
- nothing provides mate-panel needed by mate-desktop-1.22.2-3.oe1.x86_64
- nothing provides mate-user-guide needed by mate-desktop-1.22.2-3.oe1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
结果一来就给我个暴击,还有依赖关系没解决,手工查了报告的这几个软件包系统源里面都没有,没法搞,看来这个半成品还无法体验。
dnf install xfdesktop xorg-* xfce4-* lightdm lightdm-gtk xfce4-*-plugin network-manager-applet
systemctl set-default graphical.target
reboot
dnf install dde
dnf install ukui
看来还是商业公司做的桌面比较方便,dde ukui都是直接在线直接安装一个包,自动拉一堆依赖,完设置默认启动到图形就OK了。
从感官上来说,还是DDE比较好用,风格统一,各方面都比较适中,UKUI登陆和某些界面比较炫酷,但是那个配置网络的界面以及控制中心,UI做的简直是一堆狗屎。