How to install Kali Linux 2019.4 Release (Kali-Linux Undercover) & (How to Fix mariadb error)

3 min readNov 30, 2019

This is short tutorial on how to install the newest version of Kali Linux 2019. I had a previous version of Kali so this won’t walk you through how to install if you don’t have a previous version installed. I referenced the blog from the official Kali site (

2019.4 includes some exciting new updates:

  • A new default desktop environment, Xfce
  • New GTK3 theme (for Gnome and Xfce)
  • Introduction of “Kali Undercover” mode
  • Kali Documentation has a new home and is now Git powered
  • Public Packaging — getting your tools into Kali
  • Kali NetHunter KeX — Full Kali desktop on Android
  • BTRFS during setup
  • Added PowerShell
  • The kernel is upgraded to version 5.3.9
  • … Plus the normal bugs fixes and updates.
  1. Open the terminal in kali linux.
  2. Type in the following commands in the terminal:

root@kali:~# cat </etc/apt/sources.list
deb kali-rolling main non-free contrib

root@kali:~# apt update && apt -y full-upgrade

root@kali:~# [ -f /var/run/reboot-required ] && reboot -f

root@kali:~# apt -y install kali-desktop-xfce

3. When trying to install I ran into an error involving mariadb-client-10.1 on kali . To fix the I removed the mariadb-client-10.1 on kali and also sql using the following commands:

root@kali:~# sudo apt-get remove mariadb-client-10.1

root@kali:~# sudo apt-get remove — auto-remove mariadb-client-10.1

root@kali:~# sudo apt-get purge mariadb-client-10.1

root@kali:~# sudo apt-get purge — auto-remove mariadb-client-10.1

4. I also uninstalled mysql by using the following commands


Information Security Research 🧿💻