How To Install libvirt-java.noarch on Amazon Linux 2
In this tutorial we learn how to install libvirt-java.noarch in Amazon Linux 2. libvirt-java.noarch is Java bindings for the libvirt virtualization API
Introduction
In this tutorial we learn how to install libvirt-java.noarch on Amazon Linux 2.
What is libvirt-java.noarch
Libvirt-java is a base framework allowing to use libvirt, the virtualization API though the Java programming language. It requires libvirt-client >= 0.9.12
We can use yum to install libvirt-java.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libvirt-java.noarch.
Install libvirt-java.noarch on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install libvirt-java.noarch using yum by running the following command:
sudo yum -y install libvirt-java.noarch
How To Uninstall libvirt-java.noarch on Amazon Linux 2
To uninstall only the libvirt-java.noarch package we can use the following command:
sudo yum remove libvirt-java.noarch
libvirt-java.noarch Package Contents on Amazon Linux 2
/usr/share/doc/libvirt-java-0.4.9
/usr/share/doc/libvirt-java-0.4.9/AUTHORS
/usr/share/doc/libvirt-java-0.4.9/INSTALL
/usr/share/doc/libvirt-java-0.4.9/LICENCE
/usr/share/doc/libvirt-java-0.4.9/NEWS
/usr/share/doc/libvirt-java-0.4.9/README
/usr/share/java/libvirt-0.4.9.jar
/usr/share/java/libvirt.jar
References
Summary
In this tutorial we learn how to install libvirt-java.noarch on Amazon Linux 2 using yum.