How To Install libidzebra-2.0-mod-dom on Ubuntu 18.04

In this tutorial we learn how to install libidzebra-2.0-mod-dom on Ubuntu 18.04. libidzebra-2.0-mod-dom is IDZebra filter dom (XML DOM internal document model with XSLT)

Introduction

In this tutorial we learn how to install libidzebra-2.0-mod-dom on Ubuntu 18.04.

What is libidzebra-2.0-mod-dom

libidzebra-2.0-mod-dom is:

This package includes the ‘dom’ filter which uses libxslt1 to transform XML records by XSLT into XML indexable records. It can read and index any binary MARC syntax as well, and is therefore a modern replacement for the ‘alvis’ and the family of ‘grs’ filters.

IDZebra is a high-performance, general-purpose structured text indexing and retrieval engine. It reads structured records in a variety of input formats (eg. email, XML, MARC) and allows access to them through exact boolean search expressions and relevance-ranked free-text queries.

There are three methods to install libidzebra-2.0-mod-dom on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libidzebra-2.0-mod-dom Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libidzebra-2.0-mod-dom using apt-get by running the following command:

sudo apt-get -y install libidzebra-2.0-mod-dom

Install libidzebra-2.0-mod-dom Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libidzebra-2.0-mod-dom using apt by running the following command:

sudo apt -y install libidzebra-2.0-mod-dom

Install libidzebra-2.0-mod-dom 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 libidzebra-2.0-mod-dom using aptitude by running the following command:

sudo aptitude -y install libidzebra-2.0-mod-dom

How To Uninstall libidzebra-2.0-mod-dom on Ubuntu 18.04

To uninstall only the libidzebra-2.0-mod-dom package we can use the following command:

sudo apt-get remove libidzebra-2.0-mod-dom

Uninstall libidzebra-2.0-mod-dom And Its Dependencies

To uninstall libidzebra-2.0-mod-dom and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libidzebra-2.0-mod-dom

Remove libidzebra-2.0-mod-dom Configurations and Data

To remove libidzebra-2.0-mod-dom configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libidzebra-2.0-mod-dom

Remove libidzebra-2.0-mod-dom configuration, data, and all of its dependencies

We can use the following command to remove libidzebra-2.0-mod-dom configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libidzebra-2.0-mod-dom

References

Summary

In this tutorial we learn how to install libidzebra-2.0-mod-dom package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.