How To Install strigi-utils on Ubuntu 18.04

In this tutorial we learn how to install strigi-utils on Ubuntu 18.04. strigi-utils is command-line tools for Strigi Desktop Search

Introduction

In this tutorial we learn how to install strigi-utils on Ubuntu 18.04.

What is strigi-utils

strigi-utils is:

This package is part of Strigi Desktop Search, it contains utilities powered by Strigi:

  • deepfind, an enhanced version of find. It lists files embedded in other files like .deb, .rpm, .tar.gz, email attachments, and other files.
  • deepgrep, an enhanced version of grep. It searches in binary files like OpenOffice files, mp3s, Microsoft office files, pdfs and also in files embedded in other files like .deb, .rpm, .tar.gz, email attachments, pdf and other files.
  • xmlindexer, a program that outputs the file parsing results as xml. It walks through a directory and outputs an XML file containing all the metadata and text it can extract from the files it encounters. This means that the Strigi’s powers of data extraction are now available to all applications that can parse XML simply by calling xmlindexer and parsing the output.

See the ‘strigi-daemon’ package for more information.

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

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

sudo apt-get update

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

sudo apt-get -y install strigi-utils

Install strigi-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install strigi-utils

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

sudo aptitude -y install strigi-utils

How To Uninstall strigi-utils on Ubuntu 18.04

To uninstall only the strigi-utils package we can use the following command:

sudo apt-get remove strigi-utils

Uninstall strigi-utils And Its Dependencies

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

sudo apt-get -y autoremove strigi-utils

Remove strigi-utils Configurations and Data

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

sudo apt-get -y purge strigi-utils

Remove strigi-utils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge strigi-utils

References

Summary

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