snap command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
snap: command not found
or when using sudo you get the following error message
sudo: snap: command not found
Solutions to snap: command not found
How To Fix snap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu snap is provided by snapd package.
snapd is:
Install, configure, refresh and remove snap packages. Snaps are ‘universal’ packages that work across many different Linux systems, enabling secure distribution of the latest apps and utilities for cloud, servers, desktops and the internet of things.
Start with ‘snap list’ to see installed snaps.
To fix this problem, we can install more using the command below.
sudo apt-get -y install snapd
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install snapd.
sudo apt -y install snapd
Or if you have aptitude installed you can use the following command.
sudo aptitude install snapd
Summary
In this tutorial we learn how to fix snap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.