1. Download the latest version of the installation file
Download the latest Linux version of the installation file firefox-latest-x86_64.tar.bz2 (i downloaded the 64bit version) on Firefox's website and unzip it.
[Sun@localhost downloads]$ TAR-XJVF firefox-latest-x86_64.tar.bz2
2. Uninstall old version
The system defaults to install the old version of Firefox, usually located in the/usr/lib directory, we uninstall the old version.
[Sun@localhost downloads]$ Whereis Firefox
Firefox:/usr/bin/firefox/usr/lib/firefox/usr/lib64/firefox/usr/share/man/man1/firefox.1.gz
Remove Program Directory
[Sun@localhost downloads]$ sudo rm-rf/usr/lib/firefox
Delete Startup script
[Sun@localhost downloads]$ sudo rm-f/usr/bin/firefox
3. Install the new
Move the extracted Firefox directory to the/usr/lib directory
[Sun@localhost downloads]$ sudo mv ~/download/firefox/usr/lib
Create a soft link, point to/usr/lib/firefox/firefox
[Sun@localhost ~]$ ln-s/usr/lib/firefox/firefox/usr/bin/firefox
Modify the program startup path in the Firefox browser icon Properties, and in the text box in the Command field, enter
/usr/lib/firefox/firefox%u