Arch Linux KDE桌面安装步骤
1、环境准备
[root@archlinux ~]# ping baidu.com
PING baidu.com (220.181.38.148) 56(84) bytes of data.
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=1 ttl=128 time=29.3 ms
64 bytes from 220.181.38.148 (220.181.38.148): icmp_seq=2 ttl=128 time=29.0 ms
^C64 bytes from 220.181.38.148: icmp_seq=3 ttl=128 time=28.7 ms
--- baidu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 4097ms
rtt min/avg/max/mdev = 28.659/28.962/29.273/0.250 ms
2、创建桌面用户,赋予sudo权限
[root@archlinux ~]# useradd -m -G wheel hzz
[root@archlinux ~]# passwd hzz
New password: //密码不回显
Retype new password:
passwd: password updated successfully
[root@archlinux ~]# vim /etc/sudoers
%wheel ALL=(ALL) NOPASSWD: ALL //取消改行注释
su - hzz //切换至hzz用户
3、安装KDE桌面
[hzz@archlinux ~]$ sudo pacman -Sy
:: Synchronizing package databases...
core 131.1 KiB 1236 KiB/s 00:00 [######################################] 100%
extra 1657.4 KiB 4.34 MiB/s 00:00 [######################################] 100%
community 5.4 MiB 4.98 MiB/s 00:01 [######################################] 100%
[hzz@archlinux ~]$ sudo pacman -S xf86-video-intel xorg sddm sddm-kcm plasma plasma-desktop
warning: xf86-video-intel-1:2.99.917+916+g31486f40-1 is up to date -- reinstalling
:: There are 48 members in group xorg:
:: Repository extra
..................略
[hzz@archlinux ~]$ sudo systemctl enable sddm
Created symlink /etc/systemd/system/display-manager.service -> /usr/lib/systemd/system/sddm.service.
[hzz@archlinux ~]$ sudo systemctl start sddm //启动成功即可
4、效果展示