2021-12-22 13:51:22 +00:00
|
|
|
#!/bin/bash
|
2022-01-08 05:26:21 +00:00
|
|
|
echo
|
|
|
|
echo "==============================================="
|
2022-01-09 09:20:25 +00:00
|
|
|
echo "Installing snap and its software..."
|
2022-01-08 05:26:21 +00:00
|
|
|
echo "==============================================="
|
|
|
|
echo
|
|
|
|
|
|
|
|
installed() {
|
|
|
|
command -v "$1" >/dev/null 2>&1
|
|
|
|
}
|
|
|
|
|
|
|
|
snapi() {
|
|
|
|
snap install $1 2>/dev/null
|
|
|
|
[[ $? -ne 0 ]] && snap install $1 --classic
|
|
|
|
}
|
2021-12-22 13:51:22 +00:00
|
|
|
|
2022-01-09 09:20:25 +00:00
|
|
|
if ! installed snapd; then
|
2022-01-08 05:26:21 +00:00
|
|
|
sudo apt update
|
|
|
|
sudo apt install -y --autoremove snapd gnome-software-plugin-snap
|
2021-12-22 13:51:22 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
snapi snap-store
|
|
|
|
snapi telegram-desktop
|
|
|
|
snapi code
|
|
|
|
snapi phpstorm
|
|
|
|
snapi skype
|
|
|
|
snapi audacity
|
|
|
|
snapi flameshot
|
|
|
|
snapi gtk-common-themes
|
|
|
|
snapi gtk2-common-themes
|
|
|
|
snapi kde-frameworks-5-core18
|
|
|
|
snapi zoom-client
|
|
|
|
snapi peek
|
|
|
|
|
|
|
|
# https://certbot.eff.org/
|
|
|
|
snapi certbot
|
|
|
|
sudo ln -s /snap/bin/certbot /usr/bin/certbot
|
|
|
|
|
|
|
|
# snapi mysql-workbench-community
|
|
|
|
# snapi dbeaver-ce
|
|
|
|
# snapi discord
|
|
|
|
# snapi obs-studio
|