How To Install swish-e on Debian 9

In this tutorial we learn how to install swish-e on Debian 9. swish-e is Simple Web Indexing System for Humans - Enhanced

Introduction

In this tutorial we learn how to install swish-e on Debian 9.

What is swish-e

swish-e is:

SWISH-Enhanced is a fast, powerful, flexible, and easy to use system for indexing collections of HTML Web pages, or any XML or text files like Open Office Documents, Open Document files, emails, and so on.

Key features:

  • Quickly index a large number of text, HTML, and XML documents
  • Use filters to index any type of files such as PDF, OpenOffice, DOC, XLS, PPT, MP3.
  • Includes a web spider for indexing remote documents over HTTP
  • Can use an external program to supply documents including records from a relational database.
  • Word stemming, soundex, metaphone, and double-metaphone indexing for fuzzy searching
  • Powerful Regular Expressions to select documents for indexing or exclusion
  • Limit searches to parts of documents such as certain HTML tags or to XML elements.
  • Index file is portable between platforms.
  • A Swish-e library is provided to allow embedding Swish-e into your applications for very fast searching.

You’ll find ready to use examples for indexing the Debian documentation, PDF, OpenOffice and MSOffice files, whole Maildir, and more.

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

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

sudo apt-get update

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

sudo apt-get -y install swish-e

Install swish-e Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install swish-e

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

sudo aptitude -y install swish-e

How To Uninstall swish-e on Debian 9

To uninstall only the swish-e package we can use the following command:

sudo apt-get remove swish-e

Uninstall swish-e And Its Dependencies

To uninstall swish-e and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove swish-e

Remove swish-e Configurations and Data

To remove swish-e configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge swish-e

Remove swish-e configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge swish-e

Dependencies

swish-e have the following dependencies:

References

Summary

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