I'm looking for ways to install,
firefox-89.0.tar.bz2 for example, on Fedora 34, and I can't figure out a way to do it.. So how would I install a
.tar.bz2 archive in Fedora, or RHEL based distros?
- Close firefox.
- Navigate to the directory that contains the file.
- Open a terminal in the directory (depending on your DE, you can right-click and select 'Open terminal').
tar xjf firefox-*.tar.bz2(note that you need to substitute the
*with the version of firefox you have downloaded; i.e. the filename).
- Run the
firefoxscript which is inside the folder that was created during extraction.
EDIT: please try the steps under. Be warned: this might mean that you will have to manually update
firefox for every new version.
- Open up a terminal and write
sudo dnf remove -y firefox.
unlink /usr/bin/firefoxto unlink the symlink (if there is one).
firefoxto the current folder using
- Extract the tarball using
tar xvjf firefox-89.0.tar.bz2.
firefoxto make it accessible from anywhere using
sudo ln -s /usr/local/firefox/firefox /usr/bin/firefox.