blog/linux/centos/kde.md

43 lines
987 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# centos 8 安装kde5
本安装方法适用于 centos8 rockylinux8
kde5 并未包含在系统软件仓库中需要添加epel源
```bash
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
```
或者
```bash
dnf install epel-release
```
使用国内源
```bash
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包
```bash
dnf config-manager --set-enabled powertools
```
安装kde5
```bash
yum group install 'KDE Plasma Workspaces'
systemctl set-default graphical.target
systemctl enable sddm
```
重启电脑
```bash
reboot
```