One of the highlights that have come with Ubuntu 16.04 LTS is compatibility with snap packages. Starting with version 16.04, developers will be able to deliver their software to Canonical in the classic .deb package or as a snap, but the latter has some advantages, as it will allow us to update a package as soon as the developer has delivered it. . But how will this type of package be managed?
The information has been available since last Thursday. To access it, all you have to do is open a terminal and type “man snap” or “snap -help”, offering the second most direct information and the first much more detailed information. How to manage snap packages it will not be much different from managing apt packages. Below is a list of options that we can use from the terminal.
Commands to manage snap packages
The options below are those that appear when typing in a “snap -help” terminal. To launch any option that will make changes, you must first type “suo snap”. For example, to install the GIMP image editor, as long as it is available as a snap package, we should open a terminal and type, without the quotes, “suo snap install gimp”. The options are:
- abortion to abort a pending change.
- ack adds a statement to the system.
- changes shows system changes.
- connect connect a plug to a slot
- disconnect disconnect a plug from a slot
- find looking for packages to install
- install • a snap on the system (com apt-get install).
- interfaces shows interfaces on the system.
- known shows known statements to the intended type.
- list displays a list of installed snaps.
- login is identified in the Store.
- logout leaves the Store.
- refresh refreshes a snap on the system.
- remove a snap is removed from the system.
If you want to do some tests, something I recommend especially for the most curious, open a terminal and type “snap find” without the quotes. Unless an order is going to make changes to the system it is not necessary to write in front his. If we do not remember the exact name of a package, we can type “suo snap find l” and all packages starting with L will appear. If you are interested in what you see, such as the Links browser, type “suo snap install links ». When you set the password, the package will start downloading and installing. If you try it and you don’t like it, as is my case, type “suo snap remove links” and the removal will be instant. What do you think?