- # Alt snap store: https://snapcraft.io/store
- # First thing first, make sure that your system has snap support enabled. In Ubuntu based Linux distributions, try the command below:
- sudo apt install snapd
- #To find Snap packages in the terminal, use the following command:
- snap find <search_text>
- #install the Snap package using the command below:
- sudo snap install <package>
- #You can also list all the Snap packages installed on your system:
- snap list
- #Snap also provides you a history of the changes made to your system with Snap. Use the command below:
- snap changes
- #Snap packages are automatically updated. And installed Snap packages normally checks for updates four times a day and then installs it automatically.
- #You can also do it manually. If you want to upgrade a Snap package to a newer version manually, use the command below:
- sudo snap refresh <package>
- #To see which Snap packages have updates ready to be installed, you can use the command below:
- sudo snap refresh --list
- #For some reason, if you did not like a recent updated Snap package, you can revert it to the previously installed version with this command:
- sudo snap revert <package>
- #you can remove a Snap package using this command:
- sudo snap remove <package>
- #Channels are:
- # stable: The latest stable release of an application
- # candidate: The release candidate (RC) of an application that is reaching the stable version
- # beta: Unstable version that has reached a certain milestone
- # edge: Daily/nightly build of an application under development
- # Needless to say that you should stay on the Stable channel but if you really want to change to another channel, you can use Snap command in the following fashion:
- sudo snap refresh <package> --channel=<channel_name>
Recent Pastes