Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Install Searx Free Metasearch Engine on Bullseye Desktop

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Install Searx Free Metasearch Engine on Bullseye Desktop

#1 Post by kedaha »

Of course there are other ways to get searx up and running but here the stable Debian package from the main repository is used in preference to other versions from upstream or snap. There is currently no higher version of searx available in testing or sid so no backport can be done but the bullseye 0.18.0 version is fine.
[Edit] UPDATE: Searx can now be backported from testing. For details, please see Backport searx 1.0.0+dfsg1-1 from testing to stable
These notes are based on: /usr/share/doc/python3-searx/README.Debian

Code: Select all

# apt update && apt install searx
# mkdir /etc/searx
Please note: The following command given in the README does not work because the file is not gzipped:

Code: Select all

# gzip --to-stdout --decompress /usr/share/doc/searx/examples/settings.yml.gz > /etc/searx/settings.yml

So proceed with

Code: Select all

# cp /usr/share/doc/searx/examples/settings.yml /etc/searx/settings.yml
Generate key:

Code: Select all

# sed -i -e "s/ultrasecretkey/$(openssl rand -hex 16)/g" /etc/searx/settings.yml
Now try it out:

Code: Select all

$ searx-run
$ sensible-browser 127.0.0.1:8888
Some further notes:
Or just type localhost:8888 in your browser address bar.
It's a good idea to have a tab in your browser for searx.
Rather than use the terminal to run searx, on my mate desktop menu, under System -->Preferences -->Personal-->Startup Applications Preferences, I added it to Startup Programs:

Name: Searx
Command searx-run
Comment: Start Searx

For gnome or kde, do something similar.
To set it as your default search engine in, for example, Chromium under Settings -->search engine
Search Engine used in the address bar: Searx
And edit the entry like this:
Search engine: searx
Keyword: 127.0.0.1
URL with %s in place of query : http://127.0.0.1:8888/
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

Post Reply