S
S
SOTVM2021-01-29 12:02:21
linux
SOTVM, 2021-01-29 12:02:21

How to update firefox esr from linux console?

I update it myself like this: I
download the tarball and unpack it under root into /opt
https://download.mozilla.org/?product=firefox-esr-...

or change the rights to /opt recursively.
sudo killall firefox-bin ; sudo chown -R $USER /opt
launch fox and refresh from browser, then reset permissions,
killall firefox-bin ; sudo chown -R root /opt

BUT I don’t need it for myself, I
need a line / script, so that a la like in Windows, press the button and everything is ready)))

there is /opt/firefox/ updater , but I can’t figure out which ones Do you need "evidence"?

~ $ sudo /opt/firefox/updater /opt/firefox/ /opt/firefox/ 
Usage: updater patch-dir install-dir apply-to-dir [wait-pid [callback-working-dir callback-path args...]]

and if so, then
~ $ sudo /opt/firefox/updater /opt/firefox/ /opt/firefox/ /opt/firefox/
ERROR: could not open file in mar_open()
/opt/firefox//update.mar: No such file or directory

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question