Forem

Alexander Omorokunwa
Alexander Omorokunwa

Posted on • Originally published at fossnaija.com on

2

How to Install and Use Snap Applications in Linux

install_snap_banner_fossnaija

Snaps applications(snaps) are apps that are bundled using the snap software package distribution system; that was developed by canonical (the company behind the development of ubuntu Linux distribution). And it has become a major way some popular desktops apps are installed on ubuntu. And many other Linux distribution also now supports snap packages.

The snap DEAMON (snapd):

Before snaps can be used on any Linux system, snapd (the snap deamon), has to be installed first. Snapd can be installed in many popular Linux distributions (distros) as follows;

Ubuntu:

Snapd is installed by default in ubuntu16.04, so you’re ready to start installing apps immediately.

For the older 14.04 LTS (trusty) release or any flavour (e.g. Lubuntu) which doesn’t include snapd by default, you have to install it manually from the archive:

 sudo apt update sudo apt install snapd
Enter fullscreen mode Exit fullscreen mode

Fedora:

You can install the snapd package with:

sudo dnf install snapd
Enter fullscreen mode Exit fullscreen mode

Snaps using classic confinement, such as code editors, also require a symlink from /var/lib/snapd/snap to /snap:

sudo ln -s /var/lib/snapd/snap /snap
Enter fullscreen mode Exit fullscreen mode

Arch Linux:

Run the following command to install the package using yaourt AUR helper:

 yaourt -S snapd
Enter fullscreen mode Exit fullscreen mode

Once installed, enable the systemd unit which is responsible to manage the main communication socket for snapd manually:

sudo systemctl enable --now snapd.socket
Enter fullscreen mode Exit fullscreen mode

Restart the computer for post-install changes to take effect.

Check here to get how to install it in other Linux distributions.

Find and Install Snaps

Once snapd is installed in your system you can search for snaps like this:

snap find <app_name or description>
Enter fullscreen mode Exit fullscreen mode

The command searches for all snaps that are related to “email”. And If the command is used without any description or snap name; some popular snaps are returned:

snap_find_command_result

The Snap Store contains both public and private snaps.

You can install snaps using the command-line like this:

snap install <package_name>
Enter fullscreen mode Exit fullscreen mode

Or if you prefer using the graphical interface, head over to the snaps store or the snap app repository maintained by Brian Douglass to install snaps with a click of a button or download the snap package to install yourself.

View Installed Snaps

To view all the snaps installed on your system use snap list command. The command also provides information on the software version, revision number, developer, and any extra notes provided with the snap.

snap_list_command

Removing Snaps

To remove any snap application from your system, use the command:

snap remove <snap_name>
Enter fullscreen mode Exit fullscreen mode

By default all the snap revisions are removed, including their data and the common data directory.

For full snap commands check here.

Happy Linux’NG!

The post How to Install and Use Snap Applications in Linux appeared first on Foss Naija.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay