Running SearXNG on Linux Mint
Difference between revisions from 2024/03/17 07:39 and 2024/03/17 07:38.
Google censors and shadow bans and results is a dumber society, dumber education system. To counter act such intent, use searXNG. Here is how to install it on Linux Mint. Download it. {pre} git clone https://github.com/searxng/searxng.git {/pre} {pre} cdintosearxng {/pre} The docs are available at https://docs.searxng.org/ The only supported operating systems are... {pre} ubuntu-*|debian-*) # For uWSGI debian uses the LSB init process; for each configuration # file new uWSGI daemon instance is started with additional option. service uwsgi status "${SERVICE_NAME}" ;; arch-*) systemctl --no-pager -l status "uwsgi@${SERVICE_NAME%.*}" ;; fedora-*) {/pre} You then need to change every instances of {pre} ubuntu-*|debian-*) {/pre} to {pre} ubuntu-*|debian-*|linuxmint-*) {/pre} The file it gets its Linux installation name is /etc/os-release variable ID {pre} echo $(source /etc/os-release; echo "$ID"); {/pre} or {pre} cat /etc/os-release {/pre} the files in reference are... {br} # ./utils/searxng.sh # ./utils/lib.sh # ./utils/lib_redis.sh {br} Here are some fast sed commands... {pre} find . -type f -exec sed -i 's/ubuntu-*|debian-*)/ubuntu-*|debian-*|linuxmint-*)/g; s/ubuntu-*|debian-*)/ubuntu-*|debian-*|linuxmint-*)/g' {} + find . -type f -exec sed -i 's/ubuntu|debian)/ubuntu|debian|linuxmint)/g' {} + {/pre} and you need a working python environment as searxng is written in python... {pre} sudo apt install python3 -y {/pre} {pre} sudo ln -s /usr/bin/python3 /usr/bin/python {/pre} The run the installation script... {pre} sudo -H ./utils/searxng.sh install all {/pre}