Snap is a package management system and software deployment. Generally, these packages are termed as the snaps. The tool for using snaps is termed as the snapd. Snaps are app packages for cloud, IoT and desktop that are easy to install, cross-platform. Snaps works across all the Linux distributions so it activates the utilities and latest apps for the cloud, desktop, and servers, etc.
snapd is a daemon or process which manages the full environment of snap. The snap tool of this process is used for interacting with snaps. It keeps a track of all the installed apps.
Steps to Install snap on Ubuntu
Step 1: Use the below command to update the package
$ sudo apt update
Step 2: Install snapd using the below command
$ sudo apt install snapd
Checking if snap is Installed or not?
Step 1: Run the below command to test whether snap is installed or not. This command will give some output which is shown in the below image.
$ sudo snap install hello-world
Step 2: Execute the below command and check the output
Snap Commands Options
1. Search application
$ snap find app_name
2. Information about applications
$ snap info app_name
3. List all Installed Applications
$ snap list
4. Updating Applications
$ sudo snap refresh app_name
5. Revert updated applications
$ sudo snap revert app_name
6. Disabling applications
$ sudo snap disable app_name
7. Enable Applications
$ sudo snap enable app_name
8. Removing application
$ sudo snap remove app_name
Note: Replace app_name with specific application’s name like postman, vlc, spotify, eclipse –classic etc., in all above commands.
- How to Install and Configure Synaptic Package Manager in Ubuntu?
- Context Manager Using @contextmanager Decorator
- Get to know Ubuntu 18.04 LTS | Welcome Bionic Beaver!!
- Interesting Facts about Ubuntu
- How to install Ubuntu on VirtualBox?
- How to Install Ulauncher in Ubuntu?
- How to Install Chrome in Ubuntu?
- Keyboard Shortcuts for Ubuntu | Set - 1
- Creating and Configuring Wi-Fi Hotspot in Ubuntu
- Installing and Configure vim Plugin in Ubuntu
- 5 Ways to Keep Your Ubuntu System Clean
- Making an Alias to Shutdown Ubuntu
- How to Install and Configure Docker in Ubuntu?
- How to setup cron jobs in Ubuntu
- How to speed up the downloading of packages using apt-fast in Ubuntu?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.