How To Install openjpeg2 on CentOS 8
Introduction
In this tutorial we learn how to install openjpeg2
on CentOS 8.
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.3.1 6.el8 x86_64 154 k openjpeg2-2.3.1-6.el8.src.rpm appstream 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install openjpeg2.
Install openjpeg2 on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the openjpeg2
package we can use the following command:
sudo dnf remove openjpeg2
openjpeg2 Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/2cb9cf16597e73d4d5b56796857074243c1d56
/usr/lib/libopenjp2.so.2.3.1
/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/cf
/usr/lib/.build-id/cf/2995d398a267425859f477e7e417ff711c3d96
/usr/lib64/libopenjp2.so.2.3.1
/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
- [openjpeg2 website](https://github.com/uclouvain/openjpeg https://github.com/uclouvain/openjpeg)
Summary
In this tutorial we learn how to install openjpeg2
on CentOS 8 using yum and dnf.