Play Linux Firefox uninstall and install and upgrade

Source: Internet
Author: User

Demo Ubuntu12.04 and Red Hat Enterprise Linux 6

Version Ubuntu12.04:

Note: The command input shown here is in the case of the root user: that is, enter Su and then follow the prompts to enter the password to return to the root user after the successful switch operation

1, first check the installed Firefox version

Input command: dpkg--get-selections | grep Firefox

Example diagram:

2, uninstall based on search results

Input command: sudo apt-get purge Firefox firefox-gnome-support

(The command here is to delete two items, separated by a space)

Example diagram:

Continue to check and uninstall:

Enter the command:

Dpkg--get-selections | grep Firefox

sudo apt-get purge Firefox-locale-zh-hans

(The command here is to delete an item)

Example diagram:

3. Install Firefox

Installation Complete

Enter Firefox to run

Example diagram:

The above command installation is Ubuntu12.04 default Firefox, is the old version of English, to install a new version of Firefox continue to look down.

4, update Firefox to 34v version

(Note that you can uninstall the old version of Firefox that was previously installed, or do not uninstall it, depending on your idea)

Preparatory work:

Go to Firefox official website http://www.firefox.com.cn/download/download

Unzip it

Input command: TAR-XVF firefox-latest.tar.bz2

Easy to manage, the extracted Firefox folder contains sub-files moved to the OPT directory

Input command: MV firefox/opt/

Example diagram:

(the previously mentioned can be deleted is not deleted here is embodied, here is not to delete, take the old version of the case of backup)

To change the point of the shortcut/usr/bin/firefox, first back up the old version of the shortcut file

Input command: Mv/usr/bin/firefox/usr/bin/firefox-old

After the command is entered, Firefox does not have pop-up windows showing Firefox window

Example diagram:

And the input firefox-old will appear the old version of the Firefox window, here do not do a demo.

Installation

Then create a new shortcut file for the new version of Firefox:

Command: Ln-s/opt/firefox/firefox/usr/bin/firefox

Then enter the Firefox command to see the new version of Firefox

Example diagram:

Installation is successful!

Red Hat Enterprise Linux 6

The example diagram here is roughly the same as on the Ubuntu example diagram, without a demo.

1, first check the installed Firefox version

Input command: RPM-QA | grep Firefox

2, uninstall based on search results

Input command: Rpm-e Firefox (Firefox for results)

3, install the latest version of Firefox

The entire process is similar to the above Ubuntu upgrade process

Go to Firefox official website http://www.firefox.com.cn/download/download

Unzip it

Input command: TAR-XVF firefox-latest.tar.bz2

Easy to manage, the extracted Firefox folder contains sub-files moved to the OPT directory

Input command: MV firefox/opt/

Then create a new shortcut file for the new version of Firefox:

Command: Ln-s/opt/firefox/firefox/usr/bin/firefox

Then enter the Firefox command to see the new version of Firefox

Play Linux Firefox uninstall and install and 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.