Manual upgrade of Firefox in Linux

Source: Internet
Author: User

1. Download Firefox-4.0 for Linux
Https://www.mozilla.com/en-US/firefox/new/

Https://www.mozilla.org/en-US/firefox/all.html

2. Unzip the Firefox-4.0

Tar-xjvf Firefox-latest.tar.bz2

 

3. Change the extracted file name.
After decompression, the default file name isFirefox,
In ubuntu 10.10, Firefox is deployed in/Usr/lib/firefox-3.6.10
To differentiate versions, change the extracted file nameFirefox-4.0
Note: The extracted file name cannot be changed. You only needFirefoxFile Overwrite
Note that the following file names must be consistent

4. Remove the old firefox-3.6.10 and install the new firefox-4.0
 

Sudo Rm-RF/usr/lib/firefox-3.6.10

Move the new firefox-4.0 to the system directory (do not move, move is to keep the system directory uniform)
Enter the new Firefox decompression directory

Sudo MV firefox-4.0/usr/lib/

 

5. Delete the old Firefox link and create a new link.

Sudo Rm-RF/usr/bin/Firefox
Sudo ln-S/usr/lib/firefox-4.0/Firefox/usr/bin/Firefox

6. Modify the Firefox system environment directory: You can use the icons on the previous menu and panel.

Sudo gedit/etc/apparmor. d/usr. bin. Firefox

ReplaceFirefOx environment directory
  UseFirefox-4. 0 replaceFirefox-3. 6.10

7. Create an icon file

Sudo Rm-r/usr/share/pixmaps/firefox.png
Sudo CP/usr/lib/firefox-4.0/icons/mozicon128.png/usr/share/pixmaps/firefox.png

 

 

 

 

 

 

 

 

Practical experience:

 

I downloaded a firefox8.0 version from the official website and found that it can be used after decompression. However, for ease of management, I have to re-plan it:

 

Step 1: Delete the original Firefox

 

Rpm-e Firefox

 

Step 2: Download and pressurize the compressed package and name the folder"Firefox8.0";

Step 3: Set the folder"Firefox8.0"Move to"/OPT"Folder;

Step 4: Create a command link (This is important)

Ln-S/opt/firefox8.0/Firefox/usr/bin/Firefox

Step 5: Create an icon file

CP/opt/firefox8.0/icons/mozicon128.png/usr/share/pixmaps/firefox.png

Step 6: restart the Linux system and complete the upgrade.

 

 

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.