Explanation of the Cross-Version Upgrade Method of Firefox under UbuntuLinux (also suitable for installing Firefox in Linux). Firefox is a cross-platform open-source browser that provides good support for non-Windows platforms, however, it is a headache to install Firefox in different versions in Linux. Firefox does not provide installation packages (such as rpm or deb packages) for download in Linux, but only provides binary executable file packaging. After downloading the executable package, you can directly use it, but how can you install it? The general release version also has Firefox, although it cannot be upgraded automatically. Here follow
Firefox Cross-Version Upgrade in Ubuntu Linux (also suitable for installing Firefox Chinese version in Linux). As we all know, Firefox is a cross-platform open-source browser that provides good support for non-Windows platforms, however, it is a headache to install Firefox in different versions in Linux.
Firefox does not provide installation packages (such as rpm or deb packages) for download in Linux, but only provides binary executable file packaging. After downloading the executable package, you can directly use it, but how can you install it? The general release version also has Firefox, although it cannot be upgraded automatically. Here we will follow you step by step to manually Upgrade Firefox.
Go to the official website to download the latest version of Firefox, either the Chinese version or the international version. Here, I will take the latest Firefox 4.0beta4 as an example. The operating system is ubuntu 10.04 and firefox3.6 is used by default to replace the default 3.6 with 4.0.
The downloaded package is a compressed package.
Ignore this and delete the old firefox version. The command in the terminal is as follows.
Sudo apt-get remove firefox
Do not use the -- purge command. This will clear the configuration file, so that the new firefox cannot inherit the previous configuration.
Decompress firefox to the/usr/lib/directory. (for other users in the wdp download folder downloaded from firefox, change the path in the tar command)
Cd/usr/lib/
Sudo tar-xvf '/home/wdp/download/firefox-4.0b4.tar.bz2'
The next step is to create a link to/usr/bin. In this way, you can enter firefox in the terminal to respond.
Cd/usr/bin/
Sudo ln-s/usr/lib/firefox
Note that/usr/lib/firefox in article 2 refers to the executable file location in firefox, and firefox in some versions uses firefox. sh. Note that you should change it to firefox. sh.
The firefox upgrade is complete.
Let's see the results ~ What? The firefox shortcut on the top panel does not have a logo. Set the icon in the property to/usr/lib/firefox/icons.
Let's see the final result.
Linux does not have the new theme of windows ~~
Tab candy !!!!
PS: Firefox is not registered in the ubuntu package manager, so it is not managed by software packages and cannot be upgraded through system upgrade, however, you can manually upgrade the software (to run with the root permission ).