Ubuntu instaluj snap
sudo apt update
sudo apt install snapd
Concerned Crossbill
sudo apt update
sudo apt install snapd
#Ubuntu and Debian
sudo apt update
sudo apt install snapd
#CentOS and RHEL
yum install epel-release
yum install snapd
#Fedora
dnf install snapd
sudo snap install code --classic
The Best way to install Snapd On linux
sudo apt update
sudo apt install snapd
sudo snap install core; sudo snap refresh core