How To Install batik-rasterizer on CentOS 7

In this tutorial we learn how to install batik-rasterizer on CentOS 7. batik-rasterizer is Batik SVG rasterizer

Introduction

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

What is batik-rasterizer

The SVG Rasterizer is a utility that can convert SVG files to a raster format. The tool can convert individual files or sets of files, making it easy to convert entire directories of SVG files. The supported formats are JPEG, PNG, and TIFF, however the design allows new formats to be added easily.

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

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

sudo yum -y install batik-rasterizer

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

sudo dnf -y install batik-rasterizer

How To Uninstall batik-rasterizer on CentOS 7

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

sudo dnf remove batik-rasterizer

References

Summary

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