First step: Download the latest installation package to the official website
[Click to download] Get firefox-latest.tar.bz2
Step Two: Unpack the installation package
$ tar jxfv firefox-latest.tar.bz2
Unzip the Firefox directory
Step Three: Replace the original Firefox
$ cd/usr/lib$ sudo mv Firefox firefox-old #将来的命名为firefox-old$ sudo mv < decompression path >/firefox firefox-new #将解压的firefox目录移动 To/usr/lib path under $ sudo ln-s firefox-new Firefox
Fourth step: Restart Firefox in effect
Description
Why do we need to replace/usr/lib/firefox to take effect? We use the type to view the Firefox command
$ type Firefoxfirefox Is/usr/bin/firefox
Open the/usr/bin/firefox file can be analyzed, it is called the/usr/lib/firefox/directory of Firefox, so as long as the replacement of the/usr/lib/firefox directory can achieve the purpose of replacing the version.
Update Firefox version under Linux