How to install Snap on Kali Linux

We will look at how to install the Snap package format on Kali Linux. Snap is an independent package format developed by Canonical and first released in 2014.

Previously, we looked at some of the available distribution independent package formats used to install apps on Linux systems. They include Snap, FlatPak, and AppImage. Our post on ‘Snap vs. Flatpak vs. AppImage: Know The Differences, Which is Better’ will give you a detailed guide and the difference between the three. In this post, we will look at how you can install the Snap package format on Kali Linux.

Kali Linux is a Debian-based Linux distribution developed for performing Penetration Testing and Digital Forensics. If you are a beginner getting into the field of Cybersecurity, you can also check our post on ‘The 10 Best Programming Languages for Hacking.’ The Snap (also called Snappy) packaging and deployment system are not available on Kali Linux by default. However, that doesn’t mean we can’t install it.

Installing SNAP on Kali Linux

As of writing this post, installing Snap on a Kali ‘Live environment’ is not supported. These instructions will work well on an Installed Kali Linux system.

To install Snap on Kali Linux, we will go the command-line way. Let’ get started.

Step 1. Launch the Terminal from the applications menu. Alternatively, you can use the (Ctrl + Alt + T) keyboard shortcut.

Kali Terminal
Kali Terminal

Step 2. Execute the apt update command to ensure all system packages are up-to-date with the latest versions.

sudo apt update

Update Kali System
Update Kali System

Step 3. Install the REST API daemon used for managing Snap packages and applications – Snapd.

sudo apt install snapd

Install Snapd
Install Snapd

Step 4. Once snapd installs successfully, we will need to start and enable the snapd and the snapd.AppArmor services. Execute the command below on your Kali Terminal. Please note, you might be required to enter your root password because starting some of these services require sudo privileges.

systemctl enable --now snapd apparmor

Start Services
Start Services

Now restart your Kali system or logout and login back in again to updated the snap paths. To check whether Snap is successfully installed, run the version command below:

snap --version

Snap version
Snap version

Test Snap Package Format

Now let’s test our snap installation by installing Telegram Desktop. Execute the command below on your Terminal.

sudo snap install telegram-desktop

Install Telegram
Install Telegram

Now, let’s run Telegram with the command below.

snap run telegram-desktop

Start Telegram
Start Telegram

The main Telegram window will open, and you can log in to your account or create an account.

Telegram Desktop
Telegram Desktop

Conclusion

That’s our complete guide on how to install Snap on Kali Linux. In case you come across any error while executing any of the commands, feel free to leave a comment below.

Arun Kumar
Arun did his bachelor in computer engineering and loves enjoying his spare time writing for FOSS Linux. He uses Fedora as the daily driver and loves tinkering with interesting distros on VirtualBox. He works during the day and reads anything tech at night. Apart from blogging, he loves swimming and playing tennis.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

22,907FansLike
430FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

MUST READ

EndeavourOS is an extremely recent distro in the Linux space released back in July 2019 as a spiritual successor to Antergos Linux, which was also discontinued in May 2019. In function, it is a rolling release distro based on Arch Linux with a focus on delivering a beginner-friendly pre-configured desktop environment to its users.
If we look at today's market, there are plenty of laptops available from different companies. The laptops differ in various ways, such as specifications, models, functionality, and many more. The common thing about all the laptop regardless of the type and functionality is that they all have operating systems that power the laptops. There are a variety of operating systems, the common ones being Windows, Linux, and macOS.