How To Install erlang-erlsom on CentOS 7
Introduction
In this tutorial we learn how to install erlang-erlsom
on CentOS 7.
What is erlang-erlsom
Erlsom is a set of functions to deal with XML Schema (XSDs) in Erlang. First you ‘compile’ the schema, and after that you can parse XML documents that conform to the schema. The result is a structure of Erlang records, based on the types that are defined by the Schema. Or, the other way around, a structure of records can be translated to an XML document.
We can use yum
or dnf
to install erlang-erlsom
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install erlang-erlsom.
Install erlang-erlsom on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install erlang-erlsom
using yum
by running the following command:
Install erlang-erlsom 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.
After updating yum database, We can install erlang-erlsom
using dnf
by running the following command:
How To Uninstall erlang-erlsom on CentOS 7
To uninstall only the erlang-erlsom
package we can use the following command:
References
Summary
In this tutorial we learn how to install erlang-erlsom
on CentOS 7 using yum
and dnf
.