How To Install searx on Debian 11

In this tutorial we learn how to install searx on Debian 11. searx is Privacy-respecting metasearch engine

Introduction

In this tutorial we learn how to install searx on Debian 11.

What is searx

searx is:

Searx is an internet metasearch engine which aggregates results from more than 70 search services. Searx runs as a web service and provides a web interface that allows the user to do a general search (aggregating results from google, bing, yahoo) or search for files (piratebay, kickass, torrentz), images (bing, deviantart, google images, flickr), IT (github, stackoverflow, Arch Linux wiki), maps (OpenStreetMap, photon), music (youtube, spotify, soundcloud), news (bing news, google news, reddit), science (arxiv, wolframalpha) social media (digg, twitter) and videos (youtube, dailymotion, vimeo).

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

Install searx Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install searx

Install searx Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install searx using apt by running the following command:

sudo apt -y install searx

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

sudo aptitude -y install searx

How To Uninstall searx on Debian 11

To uninstall only the searx package we can use the following command:

sudo apt-get remove searx

Uninstall searx And Its Dependencies

To uninstall searx and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove searx

Remove searx Configurations and Data

To remove searx configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge searx

Remove searx configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge searx

Dependencies

searx have the following dependencies:

References

Summary

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