How To Install batik on Fedora 34

batik is Scalable Vector Graphics for Java

Introduction

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

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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install batik.

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

sudo dnf -y install batik

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

sudo yum -y install batik

How To Uninstall batik on Fedora 34

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

sudo dnf remove batik

batik Package Contents on Fedora 34

/usr/share/doc/batik
/usr/share/doc/batik/CHANGES
/usr/share/doc/batik/MAINTAIN
/usr/share/doc/batik/README
/usr/share/java/batik
/usr/share/java/batik-all.jar
/usr/share/java/batik/batik-anim.jar
/usr/share/java/batik/batik-awt-util.jar
/usr/share/java/batik/batik-bridge.jar
/usr/share/java/batik/batik-codec.jar
/usr/share/java/batik/batik-dom.jar
/usr/share/java/batik/batik-ext.jar
/usr/share/java/batik/batik-extension.jar
/usr/share/java/batik/batik-gui-util.jar
/usr/share/java/batik/batik-gvt.jar
/usr/share/java/batik/batik-parser.jar
/usr/share/java/batik/batik-script.jar
/usr/share/java/batik/batik-svg-dom.jar
/usr/share/java/batik/batik-svgbrowser.jar
/usr/share/java/batik/batik-svggen.jar
/usr/share/java/batik/batik-svgrasterizer.jar
/usr/share/java/batik/batik-swing.jar
/usr/share/java/batik/batik-transcoder.jar
/usr/share/java/batik/batik-xml.jar
/usr/share/licenses/batik
/usr/share/licenses/batik/LICENSE
/usr/share/licenses/batik/NOTICE
/usr/share/maven-metadata/batik.xml
/usr/share/maven-poms/batik
/usr/share/maven-poms/batik-all.pom
/usr/share/maven-poms/batik/batik-anim.pom
/usr/share/maven-poms/batik/batik-awt-util.pom
/usr/share/maven-poms/batik/batik-bridge.pom
/usr/share/maven-poms/batik/batik-codec.pom
/usr/share/maven-poms/batik/batik-dom.pom
/usr/share/maven-poms/batik/batik-ext.pom
/usr/share/maven-poms/batik/batik-extension.pom
/usr/share/maven-poms/batik/batik-gui-util.pom
/usr/share/maven-poms/batik/batik-gvt.pom
/usr/share/maven-poms/batik/batik-parser.pom
/usr/share/maven-poms/batik/batik-script.pom
/usr/share/maven-poms/batik/batik-svg-dom.pom
/usr/share/maven-poms/batik/batik-svgbrowser.pom
/usr/share/maven-poms/batik/batik-svggen.pom
/usr/share/maven-poms/batik/batik-svgrasterizer.pom
/usr/share/maven-poms/batik/batik-swing.pom
/usr/share/maven-poms/batik/batik-transcoder.pom
/usr/share/maven-poms/batik/batik-xml.pom
/usr/share/maven-poms/batik/batik.pom

References

Summary

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