![Kali Linux:An Ethical Hacker's Cookbook(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/772/36698772/b_36698772.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
- We use the following command to install KDE:
apt-get install kali-defaults kali-root-login desktop-base kde-plasma-desktop
- Type Y when it asks for confirmation on additional space requirements.
- Click OK on both the windows that pop up.
- When the installation is complete, we open a Terminal window and type the following command:
update-alternatives --config x-session-manager
The following screenshot shows the output of the preceding command:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/aa394a0e-7018-4b80-9842-445bc1b43fef.png?sign=1738835054-UsqQBl37s0y1hVbbLtvM3j30a8Bjdz29-0-c33427e5c356fa45b70d24c63505d538)
- Choose the startkde option (in our case, 2) and press Enter.
- Log out and log in again, and we will see the KDE environment:
![](https://epubservercos.yuewen.com/E581D7/19470380608818806/epubprivate/OEBPS/Images/8bed0b9d-15cb-42d0-aa9f-8e14d547935a.png?sign=1738835054-nbWdEHnG1L6PJduBFd0Kfyxo2onrNN8B-0-c6aa246613d0c28269c175060d7ea72a)
Kali has already provided prebuilt images of different desktop environments. These can be downloaded from https://www.kali.org/downloads/.