How To Install groonga-token-filter-stem on Debian 9

In this tutorial we learn how to install groonga-token-filter-stem on Debian 9. groonga-token-filter-stem is Stemming token filter for Groonga

Introduction

In this tutorial we learn how to install groonga-token-filter-stem on Debian 9.

What is groonga-token-filter-stem

groonga-token-filter-stem is:

Groonga is an open-source fulltext search engine and column store. It lets you write high-performance applications that requires fulltext search.

This package provides TokenFilterStem token filter that stem each token. The token filter uses libstemmer that uses stemming algorithm written by Snowball.

There are three methods to install groonga-token-filter-stem on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install groonga-token-filter-stem Using apt-get

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

sudo apt-get update

After updating apt database, We can install groonga-token-filter-stem using apt-get by running the following command:

sudo apt-get -y install groonga-token-filter-stem

Install groonga-token-filter-stem Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install groonga-token-filter-stem using apt by running the following command:

sudo apt -y install groonga-token-filter-stem

Install groonga-token-filter-stem 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install groonga-token-filter-stem using aptitude by running the following command:

sudo aptitude -y install groonga-token-filter-stem

How To Uninstall groonga-token-filter-stem on Debian 9

To uninstall only the groonga-token-filter-stem package we can use the following command:

sudo apt-get remove groonga-token-filter-stem

Uninstall groonga-token-filter-stem And Its Dependencies

To uninstall groonga-token-filter-stem and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove groonga-token-filter-stem

Remove groonga-token-filter-stem Configurations and Data

To remove groonga-token-filter-stem configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge groonga-token-filter-stem

Remove groonga-token-filter-stem configuration, data, and all of its dependencies

We can use the following command to remove groonga-token-filter-stem configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge groonga-token-filter-stem

Dependencies

groonga-token-filter-stem have the following dependencies:

References

Summary

In this tutorial we learn how to install groonga-token-filter-stem package on Debian 9 using different package management tools: apt, apt-get and aptitude.