Shutter:- Installation on Linux/centOS ( v8 )

Background

There are certain use cases where the built-in screen capture on Cent-OS does not work for me as well as I will like it to.

BTW, the built-in screen capture on CentOS v8 is aptly named screenshot.

 

Installation

Outline

  1. Repository
    • Import GPG Keys
      • Nux Desktop Repository
  2. Avail Repository ( epel-release )
    • epel-release
      • Install/Update epel-release
  3. Avail Repository ( Nux-Desktop Repository )
    • nux-dextop-release
      • Based on OS version, install OS Specific Nux Desktop Repo
      • Disable Repo
  4. Packages ( shutter )
    • Install Shutter from Repo Nux-Dextop

 

Repository

Import GPG Keys

Nux Desktop Repository

Syntax

rpm --import <gpg-key>

Sample

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

Repository ( epel-release )

epel-release

Syntax


yum -y install <repository>

Sample


yum -y install epel-release

Repository

Avail Repository

Nux Desktop Repository

Outline
  1. Depending on your OS version the rpm you want to target will be slightly different URL
  2. There are availed versions for CentOS  ( 6 and 7 )
Syntax

rpm -Uvh <rpm>

Sample
CentOS – Version 6

rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

CentOS – Version 7, 8

rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

Disable Repository

Nux Desktop Repository

launch editor ( vi )
Syntax

vi <repo-file>

Sample

vi /etc/yum.repos.d/nux-dextop.repo

 

view / edit file
Outline

Unfortunately, the nux-desktop repo has duplicates and out of date packages.

This will cause conflicts with other repos.

So please preemptively disable it.

We will only enable it when we will like to install specific packages.

And, we will like them to specifically access this repo ( nux-dextop.repo ).

  1. Settings
    • Enabled
      • Set enabled to false (0)
Image

textual

[nux-dextop]
name=Nux.Ro RPMs for general desktop use
baseurl=http://li.nux.ro/download/nux/dextop/el7/$basearch/ http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nux.ro
protect=0

[nux-dextop-testing]
name=Nux.Ro RPMs for general desktop use - testing
baseurl=http://li.nux.ro/download/nux/dextop-testing/el7/$basearch/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nux.ro
protect=0
~                               

Packages ( shutter )

shutter

Syntax


sudo yum --enablerepo=<repo> install <package>

Sample


sudo yum --enablerepo=nux-dextop install shutter

Output

Output – Image

Output – Textual

>sudo yum --enablerepo=nux-dextop install shutter
[sudo] password for dadenijiLocal: 
Last metadata expiration check: 0:16:59 ago on Tue 23 Aug 2022 02:29:21 AM PDT.
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides perl(File::Copy::Recursive) needed by shutter-0.93.1-1.el7.nux.noarch
  - nothing provides perl(JSON::XS) needed by shutter-0.93.1-1.el7.nux.noarch
  - nothing provides perl(Locale::gettext) needed by shutter-0.93.1-1.el7.nux.noarch
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by shutter-0.93.1-1.el7.nux.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
>


Troubleshooting

Outline

  1. Package
    • Shutter
      • Installation
  2. Perl
    • Version

Package

Shutter

Installation

Syntax

sudo yum --enablerepo=<repository> install <package>

Sample

sudo yum --enablerepo=nux-dextop install shutter --nobest

Output

Output – Image

 

Output – Textual

>sudo yum --enablerepo=nux-dextop install shutter --nobest
[sudo] password for dadenijiLocal: 
Last metadata expiration check: 0:24:24 ago on Tue 23 Aug 2022 02:29:21 AM PDT.
Error: 
 Problem: conflicting requests
  - nothing provides perl(File::Copy::Recursive) needed by shutter-0.92-1.el7.nux.noarch
  - nothing provides perl(Locale::gettext) needed by shutter-0.92-1.el7.nux.noarch
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by shutter-0.92-1.el7.nux.noarch
  - nothing provides perl(File::Copy::Recursive) needed by shutter-0.93-1.el7.nux.noarch
  - nothing provides perl(Locale::gettext) needed by shutter-0.93-1.el7.nux.noarch
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by shutter-0.93-1.el7.nux.noarch
  - nothing provides perl(File::Copy::Recursive) needed by shutter-0.93.1-1.el7.nux.noarch
  - nothing provides perl(JSON::XS) needed by shutter-0.93.1-1.el7.nux.noarch
  - nothing provides perl(Locale::gettext) needed by shutter-0.93.1-1.el7.nux.noarch
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by shutter-0.93.1-1.el7.nux.noarch
  - nothing provides perl(File::Copy::Recursive) needed by shutter-0.91-1.el7.nux.noarch
  - nothing provides perl(Locale::gettext) needed by shutter-0.91-1.el7.nux.noarch
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by shutter-0.91-1.el7.nux.noarch
  - nothing provides perl(File::Copy::Recursive) needed by shutter-0.90.1-1.el7.nux.noarch
  - nothing provides perl(Locale::gettext) needed by shutter-0.90.1-1.el7.nux.noarch
  - nothing provides perl(:MODULE_COMPAT_5.16.3) needed by shutter-0.90.1-1.el7.nux.noarch
(try to add '--skip-broken' to skip uninstallable packages)
>

Explanation
  1. Perl
    • Version
      • We are looking for Perl Version 5.16.3

Perl

version

Syntax


perl -v

Sample


perl -v

Output

Output – Image

Output – Textual
>perl -v

This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi
(with 57 registered patches, see perl -V for more detail)

Copyright 1987-2018, Larry Wall

Summary

So our install is looking for a specific version of Perl.

But, we have a newer version installed.

Versions

  1. Targeted:- v5.16.3
  2. Installed:- v5.26.3

 

Dedicated

Dedicating this post to software engineers and bloggers.

They graciously spend a lot of insomnia hours trying to tidy up life’s inconveniences.

Honorable Mention

  1. Larry Wall ( perl )
  2. Magesh Maruthamuthu
  3. Aaron Kili

 

Referenced Work

  1. Magesh Maruthamuthu
    • 2DayGeek
      • Install / Enable Nux Dextop Repository on RHEL, CentOS & SL
        Link
  2. Aaron Kili
    • Techmint
      • How to Enable NUX Dextop Repository on RHEL/CentOS 7/6
        Link

 

Addendum

@ 2022-August-23rd 10:20 AM

 

Shutter Installation On Linux/CentOS ( v8) using Snaps

Link

One thought on “Shutter:- Installation on Linux/centOS ( v8 )

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