![Kali Linux:An Ethical Hacker's Cookbook](https://wfqqreader-1252317822.image.myqcloud.com/cover/618/36700618/b_36700618.jpg)
上QQ阅读APP看书,第一时间看更新
How to do it...
To configure the Mate environment follow the given steps:
- We start by using the following command to install the Mate environment:
apt-get install desktop-base mate-desktop-environment
The following screenshot shows the preceding command:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/16749e66-2dec-4a85-950b-2fcff8e81135.png?sign=1738928510-fi5xe5bvK54xYGcIbjKUzPITj7npb1IA-0-b8c25e51b46ea91cbe33475ddb162d16)
- Type Y when it asks for confirmation on additional space requirements.
- When installation is complete we will use the following command to set Mate as our default environment:
update-alternatives --config x-session-manager
- Choose the option mate-session (in our case 2) and press the Enter key:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/6a182b72-f54c-44f8-8609-b3048359f37c.png?sign=1738928510-IVUYUFDqgOdF8V1BuM93m11MvlweZCav-0-cde0a778f30ec8312bcc4eaec8ca56f3)
- Log out and log in again or restart and we will see the Mate environment:
![](https://epubservercos.yuewen.com/364BC0/19470402501612306/epubprivate/OEBPS/Images/a5fcadd1-0d74-4882-bcba-1fe8a5ebe31a.png?sign=1738928510-RwecnAKhBvl062BzhEJWirTLQ83ODTxN-0-0a79cdf7bd50e32487276e8a11d28b88)