Flatpak is the game changer in Linux Package management. Before that each linux distro has its own way of handling package mangement like apt in Debian based Distros, Pacman for Arch Linux, DNF for Fedora and Snap developed by Ubuntu.
Linux is already Fragmented due to its open source nature, while its good for Linux users but It become headache for Linux developers. Because developers need to test their software in each distros, package them according tp respective distros and maintain them individually.
This is where Flatpak come to rescue, In Flatpak applictions run on sandbox environment which has its own seperate ABI-stable version of common system libraries. So its eliminate seperate pacakge management software for each distro because flatpak handle it. It has one drawback, compared to other package management software flatpak take more storage.
How to Install Flatpak in Kali linux
If you using kali linux, you can install Flatpak easily in few minutes. Follow the below steps to get started.
- Open Terminal in Kali Linux and run
sudo apt update
2. Now Install flatpak using below command
sudo apt install flatpak
3. If you using Kali Linux in Gnome/Kde Plasma Destop Environment. You can install GUI Flatpak Software Centre using below command (Note: GUI Flatpak Software Centre Not Supported in XCFE Desktop Environment)
1. For Gnome KaliLinux Users
sudo apt install gnome-software-plugin-flatpak
2. For KDE Plasma Kali Linux Users
sudo apt install plasma-discover-backend-flatpak
4. Finally, add the Flathub repo
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
5. Now, Its time for restart
Install Apps from Flatpak using Flathub
If you are Gnome/kde plasma user, you have Flatpak Software center to install apps from flatpak directly. But if you are xfce kali user, you have no Software Centre. You need to install flatpak apps manually from Command line.
First Head to Flathub Webstore and search the app you want to install. Once you find the app, click the down arrow key button beside to install button. You will get two command one for to install the app and other for to run the app.

Copy the first cmd and paste it in the terminal. Type y to install the app. If you get any error, add Sudo before copied cmd then enter it.
If you want more control over Flatpak apps, Install Flatseal app from Flathub store.
flatpak install flathub com.github.tchx84.Flatseal

Flatseal allows you to control each apps seperate settings and permissions. So its must have utility to have.
Flatpak in Ubuntu Guide: How to Install and Use Flatpak on Ubuntu OS
Thats it folks, there are the tutorial for installing flatpak on kali linux. Bookmark this page for more tutorials.