Shutter Installation On Linux/CentOS ( v8) using Snaps

Background

In an earlier post spoke of the bane of installing the shutter application on a CentOS v8 system.

 

Lineage

  1. Shutter:- Installation on Linux/CentOS ( v8 )
    Link

 

Workarounds

Snaps

One possible work around is to try our installation using Snaps.

What is Snaps?

Wikipedia

Link

Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel and the systemd init system. The packages, called snaps, and the tool for using them, snapd, work across a range of Linux distributions and allow upstream software developers to distribute their applications directly to users. Snaps are self-contained applications running in a sandbox with mediated access to the host system. Snap was originally released for cloud applications but was later ported to also work for Internet of Things devices and desktop applications.

Introduction

A guide to the Snaps workaround is availed here:-

Shutter
Alan Pope (popey)
Link

Outline

  1. Repository
    • Register
      • Register epel-release
  2. Package – Snap
    • Snap
      • Install
        • Snap ( snapd )
      • Configuration
        • Snap
          • Socke
            • Enable Snap Network Socket
            • Review Network Sockets
          • Support Classic
  3. Package – Shutter
    • Shutter
      • Install
        • Shutter

Repository

Register

Register epel-release
Syntax

sudo yum install <repository>

Sample

sudo yum install epel-release

Package Snaps

install

Outline

Install snaps.

Syntax

sudo yum install <package>

Sample

sudo yum install snapd

configuration

Network Socket – Enable
Outline

Enable socket ( snapd.socket ).

Syntax

sudo systemctl enable <socket>

Sample

sudo systemctl enable --now snapd.socket

Network Socket – Inquire
Outline

Inquire Network socket ( snapd.socket ).

Syntax

sudo ss -l

Sample

sudo ss -l | grep -i snapd

Output – Text

>sudo ss -l | grep -i snapd
u_str LISTEN 0 128 /run/snapd.socket 26485 * 0 
u_str LISTEN 0 128 /run/snapd-snap.socket 26488 * 0 
u_str LISTEN 0 128 /run/user/1000/snapd-session-agent.socket 208520 * 0 
u_str LISTEN 0 128 /run/user/545260638/snapd-session-agent.socket 106483 * 0 
>

Output – Image

Explanation
  1. snapd.socket
    • See that snapd.socket is listening on network port 128
Classic Snap Support
Outline

To support classic Snap, we will create a symbolic link.

Our source will be /var/lib/snapd/snap.

And, our destination will be /snap.

Syntax

sudo ln -s <source> <destination>

Sample

sudo ln -s /var/lib/snapd/snap /snap

Package – Shutter

install

Outline

We will harness snap to install shutter.

Syntax

sudo snap install <package>

Sample

sudo snap install shutter

Summary

Using Snaps helps a lot.

It allows developers and Dev-ops engineers to build self-contained applications.

As a fully self contained application, application runtime binaries can be packaged with the application themselves.

 

Dedication

Dedicating this post to Alan Pope.

One thought on “Shutter Installation On Linux/CentOS ( v8) using Snaps

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s