How To Install libkinosearch1-perl on Ubuntu 18.04

In this tutorial we learn how to install libkinosearch1-perl on Ubuntu 18.04. libkinosearch1-perl is Perl library providing search engine features

Introduction

In this tutorial we learn how to install libkinosearch1-perl on Ubuntu 18.04.

What is libkinosearch1-perl

libkinosearch1-perl is:

KinoSearch is a loose port of the Java search engine library, Apache Lucene. It is written in Perl and C, designed primarily for providing website search functionality, but it can be put to many different uses.

It has the following features:

  • Extremely fast and scalable: KinoSearch can handle millions of documents
  • Incremental indexing (addition/deletion of documents to/from an existing index)
  • Full support for 12 Indo-European languages
  • Support for boolean operators (AND, OR, as well as AND NOT), parenthetical groupings, and prepended +plus and -minus
  • Algorithmic selection of relevant excerpts and highlighting of search terms within excerpts
  • Highly customizable query and indexing APIs
  • Phrase matching
  • Stemming
  • Stoplists

KinoSearch1 is derived from KinoSearch version 0.165 and is considered the stable upstream branch.

There are three methods to install libkinosearch1-perl 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 libkinosearch1-perl Using apt-get

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

sudo apt-get update

After updating apt database, We can install libkinosearch1-perl using apt-get by running the following command:

sudo apt-get -y install libkinosearch1-perl

Install libkinosearch1-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libkinosearch1-perl using apt by running the following command:

sudo apt -y install libkinosearch1-perl

Install libkinosearch1-perl 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 libkinosearch1-perl using aptitude by running the following command:

sudo aptitude -y install libkinosearch1-perl

How To Uninstall libkinosearch1-perl on Ubuntu 18.04

To uninstall only the libkinosearch1-perl package we can use the following command:

sudo apt-get remove libkinosearch1-perl

Uninstall libkinosearch1-perl And Its Dependencies

To uninstall libkinosearch1-perl and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libkinosearch1-perl

Remove libkinosearch1-perl Configurations and Data

To remove libkinosearch1-perl configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libkinosearch1-perl

Remove libkinosearch1-perl configuration, data, and all of its dependencies

We can use the following command to remove libkinosearch1-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libkinosearch1-perl

References

Summary

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