How To Install cptutils on Fedora 34

cptutils is Utilities to manipulate and translate color gradients

Introduction

In this tutorial we learn how to install cptutils on Fedora 34.

What is cptutils

The cptutils package contains a number of utilities for the manipulation of color gradients; mainly for translating between different formats. Formats supported include ggr (GIMP gradient), cpt (GMT color palette table), avl (Arcview Legend), lut (xmedcon), svg, and version 3 of the grd format. The cptutils package was written to aid the construction of the cpt archive cpt-city http gradients can be downloaded.

We can use yum or dnf to install cptutils on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install cptutils.

Install cptutils on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install cptutils using dnf by running the following command:

sudo dnf -y install cptutils

Install cptutils on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install cptutils using yum by running the following command:

sudo yum -y install cptutils

How To Uninstall cptutils on Fedora 34

To uninstall only the cptutils package we can use the following command:

sudo dnf remove cptutils

cptutils Package Contents on Fedora 34

/usr/bin/avlcpt
/usr/bin/cptcat
/usr/bin/cptclip
/usr/bin/cptcont
/usr/bin/cpthsv
/usr/bin/cptinfo
/usr/bin/cptpg
/usr/bin/cptsvg
/usr/bin/gimplut
/usr/bin/gimpsvg
/usr/bin/gplcpt
/usr/bin/pspsvg
/usr/bin/pssvg
/usr/bin/svgcpt
/usr/bin/svgcss3
/usr/bin/svggimp
/usr/bin/svggpt
/usr/bin/svgmap
/usr/bin/svgpng
/usr/bin/svgpov
/usr/bin/svgpsp
/usr/bin/svgqgs
/usr/bin/svgsao
/usr/bin/svgsvg
/usr/bin/svgx
/usr/bin/xycpt
/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/19d2992e9cf81f6e4a093d325f6ffd41ea9238
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/3f6fa031f467e76124cc9651398f8d07e4eb83
/usr/lib/.build-id/20
/usr/lib/.build-id/20/8d23b7b65da1b732d48af545c3421c574b14d6
/usr/lib/.build-id/34
/usr/lib/.build-id/34/80168a2ec1b1ba281ccef735328bc3147afff0
/usr/lib/.build-id/39
/usr/lib/.build-id/39/1663be6fcd7b5e8646324efb18830c0f8daf01
/usr/lib/.build-id/39/558789f075fa5b9271ba769cb8ffd81d8bf15f
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/adea69cd00f9ae59953b5dad13f594c6aef21c
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/7f8dd476b3a975ac3c22d400de0e4dca6b03c7
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/56917d314e2c65c27b03a0b6f8f6c052c3ae38
/usr/lib/.build-id/80
/usr/lib/.build-id/80/ef36a604fb0145006aff796fd38d2ab1826c13
/usr/lib/.build-id/86
/usr/lib/.build-id/86/a1515094da36a3bf022a9357836db376577636
/usr/lib/.build-id/8b
/usr/lib/.build-id/8b/71aa062366e44ee0b86349a728d7063ee8d7a8
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/abe5bc0f3d5b44399c593165126a8e1003926c
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/036d963ea6dcc5a91bcc2f5cb7fd9706d6a466
/usr/lib/.build-id/df
/usr/lib/.build-id/df/713f733a2e72482d57663d27a176405dfa52ef
/usr/share/doc/cptutils
/usr/share/doc/cptutils/CHANGELOG
/usr/share/doc/cptutils/COPYING
/usr/share/doc/cptutils/README.md
/usr/share/man/man1/avlcpt.1.gz
/usr/share/man/man1/cptcat.1.gz
/usr/share/man/man1/cptclip.1.gz
/usr/share/man/man1/cptcont.1.gz
/usr/share/man/man1/cpthsv.1.gz
/usr/share/man/man1/cptinfo.1.gz
/usr/share/man/man1/cptpg.1.gz
/usr/share/man/man1/cptsvg.1.gz
/usr/share/man/man1/gimplut.1.gz
/usr/share/man/man1/gimpsvg.1.gz
/usr/share/man/man1/gplcpt.1.gz
/usr/share/man/man1/pspsvg.1.gz
/usr/share/man/man1/pssvg.1.gz
/usr/share/man/man1/svgcpt.1.gz
/usr/share/man/man1/svgcss3.1.gz
/usr/share/man/man1/svggimp.1.gz
/usr/share/man/man1/svggpt.1.gz
/usr/share/man/man1/svgmap.1.gz
/usr/share/man/man1/svgpng.1.gz
/usr/share/man/man1/svgpov.1.gz
/usr/share/man/man1/svgpsp.1.gz
/usr/share/man/man1/svgqgs.1.gz
/usr/share/man/man1/svgsao.1.gz
/usr/share/man/man1/svgsvg.1.gz
/usr/share/man/man1/svgx.1.gz
/usr/share/man/man1/xycpt.1.gz

References

Summary

In this tutorial we learn how to install cptutils on Fedora 34 using yum and dnf.