How To Install batik on CentOS 7

In this tutorial we learn how to install batik on CentOS 7. batik is Scalable Vector Graphics for Java

Introduction

In this tutorial we learn how to install batik on CentOS 7.

What is batik

Batik is a Java(tm) technology based toolkit for applications that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation.

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

Install batik on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install batik

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

sudo dnf -y install batik

How To Uninstall batik on CentOS 7

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

sudo dnf remove batik

References

Summary

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