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
- Repository
- Import GPG Keys
- Nux Desktop Repository
- Import GPG Keys
- Avail Repository ( epel-release )
- epel-release
- Install/Update epel-release
- epel-release
- Avail Repository ( Nux-Desktop Repository )
- nux-dextop-release
- Based on OS version, install OS Specific Nux Desktop Repo
- Disable Repo
- nux-dextop-release
- 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
- Depending on your OS version the rpm you want to target will be slightly different URL
- There are availed versions for CentOS ( 6 and 7 )
- CentOS
- v6
- http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
Link
- http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
- v7
- http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
Link
- http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
- v6
- CentOS
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 ).
- Settings
- Enabled
- Set enabled to false (0)
- Enabled
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
- Package
- Shutter
- Installation
- Shutter
- 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
- Perl
- Version
- We are looking for Perl Version 5.16.3
- Version
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
- Targeted:- v5.16.3
- 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
- Larry Wall ( perl )
- Magesh Maruthamuthu
- Aaron Kili
Referenced Work
- Magesh Maruthamuthu
- 2DayGeek
- Install / Enable Nux Dextop Repository on RHEL, CentOS & SL
Link
- Install / Enable Nux Dextop Repository on RHEL, CentOS & SL
- 2DayGeek
- Aaron Kili
- Techmint
- How to Enable NUX Dextop Repository on RHEL/CentOS 7/6
Link
- How to Enable NUX Dextop Repository on RHEL/CentOS 7/6
- Techmint
Addendum
@ 2022-August-23rd 10:20 AM
Shutter Installation On Linux/CentOS ( v8) using Snaps
[…] Shutter:- Installation on Linux/CentOS ( v8 ) Link […]