How to Uninstall and Install searx on Ubuntu 22.04

Updated: October 8, 2022

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). In this guide, I will show you ways to install searx Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Check that you can run sudo commands.

Prerequisites to install searx on Ubuntu 22.04

Install searx Ubuntu 22.04

searx is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install searx using APT

This is one of the most popular methods for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to install searx on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt -y update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install searx Ubuntu by pasting this command into the terminal and pressing Enter.

sudo apt-get install searx

Install searx using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt install aptitude

After that, you can now install searx by following these steps:

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt-get update

Step 2: Install the package on Ubuntu 22.04. You can now install searx Ubuntu by executing this command in the terminal.

sudo aptitude -y install searx

Uninstall searx on Ubuntu 22.04

Have you ever thought about how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone can easily uninstall any program, not just a package.

You can uninstall searx on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove searx

If you want to uninstall searx and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge searx

Summary

In this guide, I showed you ways to install searx on Ubuntu 22.04 and some ways to uninstall searx too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.