How To Install librngom-java on Ubuntu
Posted on April 1, 2023  (Last modified on May 20, 2023 )
2 minutes • 397 words
Introduction
In this tutorial we learn how to install librngom-java
on Ubuntu.
What is librngom-java
librngom-java is:
RNGOM is an open-source Java library for parsing RELAX NG grammars.
In particular, RNGOM can:
- parse the XML syntax
- parse the compact syntax
- check all the semantic restrictions as specified in the specification
- parse RELAX NG into application-defined data structures
- build a default data structure based around the binarized simple syntax or another data structure that preserves more of the parsed information
- parse foreign elements/attributes in a schema
- parse comments in a schema
There are three methods to install librngom-java
on Ubuntu. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install librngom-java Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install librngom-java
using apt-get
by running the following command:
sudo apt-get -y install librngom-java
Install librngom-java Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install librngom-java
using apt
by running the following command:
sudo apt -y install librngom-java
Install librngom-java Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install librngom-java
using aptitude
by running the following command:
sudo aptitude -y install librngom-java
How To Uninstall librngom-java on Ubuntu
To uninstall only the librngom-java
package we can use the following command:
sudo apt-get remove librngom-java
Uninstall librngom-java And Its Dependencies
To uninstall librngom-java
and its dependencies that are no longer needed by Ubuntu, we can use the command below:
sudo apt-get -y autoremove librngom-java
Remove librngom-java Configurations and Data
To remove librngom-java
configuration and data from Ubuntu we can use the following command:
sudo apt-get -y purge librngom-java
Remove librngom-java configuration, data, and all of its dependencies
We can use the following command to remove librngom-java
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge librngom-java
Dependencies
librngom-java have the following dependencies:
References
Summary
In this tutorial we learn how to install librngom-java
package on Ubuntu using different package management tools: apt, apt-get and aptitude.