How To Install swish-e-dev on Ubuntu 18.04

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

Introduction

In this tutorial we learn how to install swish-e-dev on Ubuntu 18.04.

What is swish-e-dev

swish-e-dev is:

Static libraries and headers for developing application with SWISH-Enhanced, a fast, powerful, flexible, and easy to use system indexing engine.

There are three methods to install swish-e-dev 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 swish-e-dev 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-dev using apt-get by running the following command:

sudo apt-get -y install swish-e-dev

Install swish-e-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install swish-e-dev

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

sudo aptitude -y install swish-e-dev

How To Uninstall swish-e-dev on Ubuntu 18.04

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

sudo apt-get remove swish-e-dev

Uninstall swish-e-dev And Its Dependencies

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

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

Remove swish-e-dev Configurations and Data

To remove swish-e-dev configuration and data from Ubuntu 18.04 we can use the following command:

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

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

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

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

References

Summary

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