searchd command not found

In this troubleshooting guide we learn how to fix searchd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

searchd: command not found

or when using sudo you get the following error message

sudo: searchd: command not found

Solutions to searchd: command not found

How To Fix searchd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu searchd is provided by sphinxsearch package.

sphinxsearch is:

Sphinx is a standalone full text search engine, meant to provide fast, size-efficient and relevant fulltext search functions to other applications. Sphinx was specially designed to integrate well with SQL databases and scripting languages. Currently built-in data sources support fetching data either via direct connection to MySQL or PostgreSQL, or using XML pipe mechanism (a pipe to indexer in special XML-based format which Sphinx recognizes).

Sphinx is an acronym which is officially decoded as SQL Phrase Index.

To fix this problem, we can install more using the command below.

sudo apt-get -y install sphinxsearch

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install sphinxsearch.

sudo apt -y install sphinxsearch

Or if you have aptitude installed you can use the following command.

sudo aptitude install sphinxsearch

Summary

In this tutorial we learn how to fix searchd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.