![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=1739263186-T2QYN9lKW6IUoQZg0lV2R8SBt76RuZKJ-0-6e93c9f35ee57a87b3a379b93150a303)
- 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=1739263186-meNiPLpkNRYWMiNApE4GfrooguK3uzOw-0-1aa1a82399610e890dabd80776a0721a)
- 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=1739263186-FXzOHd70nbcieI98Ace5M1cFcxZKe2PR-0-dd0b20ffbaf6abbd0802652b09432e30)