by b5n · 2y ago · 0 comments
This just chucks firefox in /usr/local but its straightforward to edit and use ~/, opt, etc., just make sure the created symlink is somewhere in $PATH. Desktop integration will depend on your DE/WM, but should be pretty simple to figure out if not automatic.
wget -O firefox-latest.tar.bz2 \
"https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US"
tar xjf firefox-latest.tar.bz2
sudo rm -rf firefox-latest.tar.bz2 /usr/local/bin/firefox /usr/local/firefox
sudo mv firefox/ /usr/local/
sudo ln -s /usr/local/firefox/firefox /usr/local/bin/firefox