How To Install jakarta-oro on CentOS 7

In this tutorial we learn how to install jakarta-oro on CentOS 7. jakarta-oro is Full regular expressions API

Introduction

In this tutorial we learn how to install jakarta-oro on CentOS 7.

What is jakarta-oro

The Jakarta-ORO Java classes are a set of text-processing Java classes that provide Perl5 compatible regular expressions, AWK-like regular expressions, glob expressions, and utility classes for performing substitutions, splits, filtering filenames, etc. This library is the successor to the OROMatcher, AwkTools, PerlTools, and TextTools libraries from ORO, Inc. (www.oroinc.com).

We can use yum or dnf to install jakarta-oro on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install jakarta-oro.

Install jakarta-oro on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install jakarta-oro using yum by running the following command:

sudo yum -y install jakarta-oro

Install jakarta-oro on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install jakarta-oro

How To Uninstall jakarta-oro on CentOS 7

To uninstall only the jakarta-oro package we can use the following command:

sudo dnf remove jakarta-oro

References

Summary

In this tutorial we learn how to install jakarta-oro on CentOS 7 using yum and dnf.