Ubuntu

How to Use Ubuntu Snap Packages

How to Use Ubuntu Snap Packages
When running Linux, snap is one of the most powerful features you can enjoy. It allows running the same app over multiple platforms without needing to change the code of the program the slightest bit. That's why you can also call snap packages as universal apps for the Linux platform.  Ubuntu is one of the most popular Linux distros for its simplicity and usability. Let's check out on using snap packages on Ubuntu.

Features of snap packages

Snap packages are managed by the snap core, a powerful app manager with tons of powerful features. It allows running any snap package on any platform. There are tons of apps available as snap packages.  Snap also makes the work of developers a lot easier. The devs only have to develop the snap packages and forget about making the app inter-compatible. Managing snap packages is also very easy. Just run a simple command to install/uninstall apps. No need to worry about updating the app as the “core” will always keep everything up-to-date.

Installing snap core

Before you start enjoying all the available snap packages, you need to have the snap “core” in your system. It's essentially the installer that will enable running all the snap packages.

Run the following command for installing snap core -

sudo apt install snapd

After the installation is complete, you're not done yet. You have to install the “core” snap package. Run the following command -

sudo snap install core

When the installation completes, you're now free to enjoy all the snap packages on Snapcraft store.

Installing a snap package

It's time to install your snap packages. For example, I'll be installing Spotify from the snap store.

Click on the “Install” icon.

There you have the command line you have to run for installing Spotify. Let's run it in a terminal -

sudo snap install Spotify

Launch Spotify -

Other snap commands

There are a whole bunch of available things you can perform with the “snap”. Run the following command for finding out all the available options -

snap help

Here are a few commands to remember for ease of usage.

I also strongly recommend running snap commands with “sudo” or root mode for avoiding any file permission related problems.

Gry Darmowe i otwarte silniki gier do tworzenia gier na Linuksa
Darmowe i otwarte silniki gier do tworzenia gier na Linuksa
Ten artykuł zawiera listę darmowych i otwartych silników gier, których można używać do tworzenia gier 2D i 3D w systemie Linux. Istnieje wiele takich ...
Gry Samouczek Shadow of the Tomb Raider dla systemu Linux
Samouczek Shadow of the Tomb Raider dla systemu Linux
Shadow of the Tomb Raider to dwunasty dodatek do serii Tomb Raider - przygodowej serii gier akcji stworzonej przez Eidos Montreal. Gra została dość do...
Gry Jak zwiększyć FPS w Linuksie??
Jak zwiększyć FPS w Linuksie??
FPS oznacza Klatki na sekundę. Zadaniem FPS jest pomiar liczby klatek na sekundę podczas odtwarzania wideo lub wydajności gier. W prostych słowach lic...