龙蜥操作系统(Anolis OS)安装DDE桌面

环境

    VMWare16 Anolis OS 8.4 GA

按照OpenAnolis龙蜥微信公众号上的安装方法遇到的问题

问题:kwin-libs安装失败。kwin-libs-5.15.8.15-1.an8.x86_64依赖的许多包,默认的yum源中没有。

$ sudo yum install -y yum-utils
$ sudo yum-config-manager --enable DDE
$ sudo yum-config-manager --enable Plus
$ sudo yum clean all && yum makecache
$ sudo yum groupinstall -y dde

错误:
 问题: package dde-2021.04.20-1.an8.02.x86_64 requires kwin-libs, but none of the providers can be installed

  - cannot install the best candidate for the job
  - nothing provides libKF5CoreAddons.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5ConfigCore.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5I18n.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5WindowSystem.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5ConfigGui.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5GlobalAccel.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5ConfigWidgets.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5Crash.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5IconThemes.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5Notifications.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5Package.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5Service.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libkdecorations2.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5Activities.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5GlobalAccelPrivate.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKF5Plasma.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libkdecorations2private.so.7()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
  - nothing provides libKScreenLocker.so.5()(64bit) needed by kwin-libs-5.15.8.15-1.an8.x86_64
    (尝试添加 --skip-broken 来跳过无法安装的软件包 或 --nobest 来不只使用最佳选择的软件包)

处理kwin-libs安装问题

经过在网上的一番搜索,发现https://pkgs.org/上有适合“CentOS 8/EPEL x86_64”的安装包。查看上面的安装方法后,觉得可以自行添加yum源进行安装。下面介绍kwin-libs的yum源配置及DDE安装过程。

安装DDE

  1. 安装yum-utils,启用DDE、Plus两个yum源
$ sudo yum install -y yum-utils
$ sudo yum-config-manager --enable DDE
$ sudo yum-config-manager --enable Plus
  1. 配置kwin-libs的yum源
$ vim myrepo.repo
[myrepo_01]
name=myrepo_01
baseurl=https://download-ib01.fedoraproject.org/pub/epel/8/Everything/x86_64/
enabled=1
gpgcheck=0
  1. 清除及重新生成yum缓存
$ sudo yum clean all && yum makecache
  1. 安装kwin-libs
$ sudo yum install -y kwin-libs
  1. 安装DDE
$ sudo yum groupinstall -y dde
经验分享 程序员 微信小程序 职场和发展