From a Kali Linux installation, snap can be installed directly from the command line:
$ apt update $ apt install snapd
Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands:
$ systemctl enable snapd $ systemctl start snapd $ systemctl enable apparmor $ systemctl start apparmor
NOTE TO EDITORS
/snap/binisn’t added to the path by default on Kali Linux. This is actually a bug. Until it’s resolved, users will need to add this to the path manually. https://bugs.kali.org/view.php?id=5949
Currently, for snap apps to be found,
/snap/bin needs to be manually added to a user’s PATH environment variable. For the default Bash terminal, add the following to either
~/.bashrc, for the current user, or
/etc/bashrc for all users:
Finally, either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To test your system, install the hello-world snap and make sure it runs correctly:
$ snap install hello-world hello-world 6.3 from Canonical✓ installed $ hello-world Hello World!
Snap is now installed and ready to go! If you’re using a desktop, a great next step is to install the Snap Store app.