generated from bing/readnotes
987 B
987 B
centos 8 安装kde5
本安装方法适用于 centos8, rockylinux8
kde5 并未包含在系统软件仓库中,需要添加epel源
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
或者
dnf install epel-release
使用国内源
sed -e 's!^metalink=!#metalink=!g' -e 's!^#baseurl=!baseurl=!g' -e 's!//download\.fedoraproject\.org/pub!//mirrors.tuna.tsinghua.edu.cn!g' -e 's!http://mirrors!https://mirrors!g' -i /etc/yum.repos.d/epel.repo
sed -e 's!^metalink=!#metalink=!g' -e 's!^#baseurl=!baseurl=!g' -e 's!//download\.example/pub!//mirrors.tuna.tsinghua.edu.cn!g' -e 's!http://mirrors!https://mirrors!g' -i /etc/yum.repos.d/epel.repo
开启epel-extra包
dnf config-manager --set-enabled powertools
安装kde5
yum group install 'KDE Plasma Workspaces'
systemctl set-default graphical.target
systemctl enable sddm
重启电脑
reboot