How To Install libvirt-java-devel on Fedora 36

In this tutorial we learn how to install libvirt-java-devel in Fedora 36. libvirt-java-devel is Compressed Java source files for libvirt-java

Introduction

In this tutorial we learn how to install libvirt-java-devel on Fedora 36.

What is libvirt-java-devel

Libvirt-java is a base framework allowing to use libvirt, the virtualization API though the Java programming language. This is the development part needed to build applications with Libvirt-java.

We can use yum or dnf to install libvirt-java-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libvirt-java-devel.

Install libvirt-java-devel on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libvirt-java-devel using dnf by running the following command:

sudo dnf -y install libvirt-java-devel

Install libvirt-java-devel on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libvirt-java-devel using yum by running the following command:

sudo yum -y install libvirt-java-devel

How To Uninstall libvirt-java-devel on Fedora 36

To uninstall only the libvirt-java-devel package we can use the following command:

sudo dnf remove libvirt-java-devel

libvirt-java-devel Package Contents on Fedora 36

/usr/share/doc/libvirt-java-devel
/usr/share/doc/libvirt-java-devel/test.java

References

Summary

In this tutorial we learn how to install libvirt-java-devel on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).