Background
In an earlier post spoke of the bane of installing the shutter application on a CentOS v8 system.
Lineage
- Shutter:- Installation on Linux/CentOS ( v8 )
Link
Workarounds
Snaps
One possible work around is to try our installation using Snaps.
What is Snaps?
Wikipedia
Introduction
A guide to the Snaps workaround is availed here:-
Shutter
Alan Pope (popey)
Link
Outline
- Repository
- Register
- Register epel-release
- Register
- Package – Snap
- Snap
- Install
- Snap ( snapd )
- Configuration
- Snap
- Socke
- Enable Snap Network Socket
- Review Network Sockets
- Support Classic
- Socke
- Snap
- Install
- Snap
- Package – Shutter
- Shutter
- Install
- 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
- 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.
[…] Link […]