centos7 update Firefox version

1. Use your local old version of firefox, visit http://www.firefox.com.cn , and download the Linux version of Firefox. Because mine is 64-bit, the installation package selected is: "Firefox-latest-x86_64.tar. bz2".

 

2. Enter the directory where the downloaded file (Firefox-latest-x86_64.tar.bz2) is stored.

# cd /home/***/Desktop

 

3. Unzip Firefox-latest-x86_64.tar.bz2 in this directory.

After decompression, a firefox subdirectory will be generated, which contains the binary executable files of the latest version of firefox, as well as various extension modules, plug-ins and so on.

# tar -xjvf Firefox-latest-x86_64.tar.bz2

3'. Because sometimes the decompressed files are missing files (for unknown reasons), you can use the method of directly copying the firefox folder after decompressing it externally.

 

4. Delete the old version of firefox installed by default in the system, usually located in the /usr/lib64 directory.

# rm -rf /usr/lib64/firefox

 

5. Copy the new version of firefox subdirectory in the current directory to the /usr/lib64 directory.

# mv firefox /usr/lib64

 

6. Enter the /usr/bin directory and delete the firefox script under it.

# cd /usr/bin

# rm firefox

 

7. Go back to the home or root directory and create a soft link pointing to /usr/lib64/firefox/firefox.

# cd

# ln -s /usr/lib64/firefox/firefox /usr/bin/firefox

8. Check the latest version

#firefox -v

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324922179&siteId=291194637