How To Install openjpeg2 on Fedora 34

openjpeg2 is C-Library for JPEG 2000 C-Library for JPEG 2000

Introduction

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

What is openjpeg2

The OpenJPEG library is an open-source JPEG 2000 library developed in order to promote the use of JPEG 2000. This package contains * JPEG 2000 codec compliant with the Part 1 of the standard (Class-1 Profile-1 compliance). * JP2 (JPEG 2000 standard Part 2 - Handling of JP2 boxes and extended multiple component transforms for multispectral and hyperspectral imagery) openjpeg2 2.4.0 3.fc34 x86_64 163 k openjpeg2-2.4.0-3.fc34.src.rpm updates C-Library for JPEG 2000 https BSD and MIT The OpenJPEG library is an open-source JPEG 2000 library developed in order to promote the use of JPEG 2000. This package contains * JPEG 2000 codec compliant with the Part 1 of the standard (Class-1 Profile-1 compliance). * JP2 (JPEG 2000 standard Part 2 - Handling of JP2 boxes and extended multiple component transforms for multispectral and hyperspectral imagery)

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

Install openjpeg2 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 openjpeg2 using dnf by running the following command:

sudo dnf -y install openjpeg2

Install openjpeg2 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 openjpeg2 using yum by running the following command:

sudo yum -y install openjpeg2

How To Uninstall openjpeg2 on Fedora 34

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

sudo dnf remove openjpeg2

openjpeg2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/547dd16455739ac67e0aff3f83a14efa97a909
/usr/lib64/libopenjp2.so.2.4.0
/usr/lib64/libopenjp2.so.7
/usr/share/doc/openjpeg2
/usr/share/doc/openjpeg2/AUTHORS.md
/usr/share/doc/openjpeg2/NEWS.md
/usr/share/doc/openjpeg2/README.md
/usr/share/doc/openjpeg2/THANKS.md
/usr/share/licenses/openjpeg2
/usr/share/licenses/openjpeg2/LICENSE
/usr/share/man/man3/libopenjp2.3.gz
/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/14bcc1541e1ca5b184f21a4b6d5ba5201dadab
/usr/lib/libopenjp2.so.2.4.0
/usr/lib/libopenjp2.so.7
/usr/share/doc/openjpeg2
/usr/share/doc/openjpeg2/AUTHORS.md
/usr/share/doc/openjpeg2/NEWS.md
/usr/share/doc/openjpeg2/README.md
/usr/share/doc/openjpeg2/THANKS.md
/usr/share/licenses/openjpeg2
/usr/share/licenses/openjpeg2/LICENSE
/usr/share/man/man3/libopenjp2.3.gz
/usr/lib/.build-id
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/62a52e0127d30bedbbe39e0eb03f3792481749
/usr/lib/libopenjp2.so.2.4.0
/usr/lib/libopenjp2.so.7
/usr/share/doc/openjpeg2
/usr/share/doc/openjpeg2/AUTHORS.md
/usr/share/doc/openjpeg2/NEWS.md
/usr/share/doc/openjpeg2/README.md
/usr/share/doc/openjpeg2/THANKS.md
/usr/share/licenses/openjpeg2
/usr/share/licenses/openjpeg2/LICENSE
/usr/share/man/man3/libopenjp2.3.gz
/usr/lib/.build-id
/usr/lib/.build-id/d0
/usr/lib/.build-id/d0/43d44852b3de4166e8020317720146ba58aaf5
/usr/lib64/libopenjp2.so.2.4.0
/usr/lib64/libopenjp2.so.7
/usr/share/doc/openjpeg2
/usr/share/doc/openjpeg2/AUTHORS.md
/usr/share/doc/openjpeg2/NEWS.md
/usr/share/doc/openjpeg2/README.md
/usr/share/doc/openjpeg2/THANKS.md
/usr/share/licenses/openjpeg2
/usr/share/licenses/openjpeg2/LICENSE
/usr/share/man/man3/libopenjp2.3.gz

References

Summary

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