Is it possible to install AdBlock Plus, uBlock or something equivalent via terminal?
I am using Ubuntu 18.10 and want to install adblocking extension for Firefox 64. I could easily do that by launching Firefox and a few mouse clicks, but I need to repeat this operation on quite many computers and am seeking a way to automate it.
71 Answer
Why don't you try hblock? It's a sweet ad blocker with install via terminal and auto daily update.
Run the following command:
curl -o '/tmp/hblock.#1' ' \ && echo '08b736382cb9dfd39df1207a3e90b068f5325a41dc8254d83fde5d4540ba8b5b /tmp/hblock.service' | shasum -c \ && echo '87a7ba5067d4c565aca96659b0dce230471a6ba35fbce1d3e9d02b264da4dc38 /tmp/hblock.timer' | shasum -c \ && sudo mv /tmp/hblock.{service,timer} /etc/systemd/system/ \ && sudo chown 0:0 /etc/systemd/system/hblock.{service,timer} \ && sudo chmod 644 /etc/systemd/system/hblock.{service,timer} \ && sudo systemctl daemon-reload \ && sudo systemctl enable hblock.timer \ && sudo systemctl start hblock.timerMore information here:
1