Install apps and packages using snap
Problem:
You need install or remove applications or packages using snap.
Solution:
You can use the Terminal and the snap command.
Step by step:
- List the snap packages installed:
snap list
Additionally you can view all the disk blocks using by the apps or packages:
lsblk
- Install a package:
sudo snap install packagename
- Remove a package:
remove the package but the space in hard disk will not be erased.
sudo snap remove packagename
If additionally you wanto to remove the cache:
sudo snap remove packagename
In this case, you completely remove a snap package, including all of its revision loop drives. Only by doing so, will the hard drive space be made available again.
Source:
https://askubuntu.com/a/1431864/822132
https://snapcraft.io/docs
https://snapcraft.io/docs/get-started
https://snapcraft.io/docs/installing-snap-on-ubuntu