![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=1739245737-EA11XHFSnD6V8Vjpa688ovs17i890Onz-0-65d7a75d5ca37988a734029a37d7ed25)
- 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=1739245737-SdftolkTNRQA5sJRvhUYFd9B1wRrxf1K-0-e562164c3d404cddd86077f946b7c537)
- 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=1739245737-44A2AzsjsocGTu4XFWrgDVB5jlOsQQwD-0-13360899aa625f9429425c968602be74)