How To Install xsom on CentOS 7
Introduction
In this tutorial we learn how to install xsom on CentOS 7.
What is xsom
XML Schema Object Model (XSOM) is a Java library that allows applications to easily parse XML Schema documents and inspect information in them. It is expected to be useful for applications that need to take XML Schema as an input. The library is a straight-forward implement of “schema components” as defined in the XML Schema spec part 1. Refer to this specification of how this object model works.
We can use yum or dnf to install xsom on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install xsom.
Install xsom on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install xsom using yum by running the following command:
sudo yum -y install xsom
Install xsom 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 xsom using dnf by running the following command:
sudo dnf -y install xsom
How To Uninstall xsom on CentOS 7
To uninstall only the xsom package we can use the following command:
sudo dnf remove xsom
References
Summary
In this tutorial we learn how to install xsom on CentOS 7 using yum and dnf.