Manually install Firefox6 in Linux (Ubuntu) and add shortcuts

Source: Internet
Author: User
The volume compressed package does not have deb or rmp format, so you need to install it yourself. For example, my operating system: Ubuntu10.10, the original firefox3.6. enter the subject, first go to the official website next to the latest version, with the link http://www.firefox.com.cn/downl

Mozilla officially released the Firefox Plugin compressed package, which does not have deb or rmp format, so you need to install it yourself. For example, my operating system: Ubuntu 10.10, the original firefox 3.6.

Go to the topic. First, go to the latest version on the official website. The link http://www.firefox.com.cn/download/is a compressed package of .tar.bz2, which is stored in the main directory.

1. Delete the old firefox version first.

Sudo apt-get remove firefox

You do not need to add the -- purge option. Otherwise, the configuration of the previous version will be deleted. After the update, you cannot inherit some of the original plug-ins.

2.decompress firefox-latest.tar.bz2 to the/usr/lib/directory. My source compressed files are in the main directory (the files may be downloaded differently from each other. You can select a path or drag the compressed package to the terminal)

Sudo tar-jxvf ~ /Firefox-latest.tar.bz2-C/usr/lib/

Parameter description :~ /Indicates the home directory. J indicates to decompress the bz2 file. However, the new tar version can be automatically identified and does not need to be added. X indicates the meaning of decompression. V indicates that the decompression information is displayed. F indicates an archive file. -C indicates changing the path. This option must be included to decompress the package to/usr/lib.

3. Create a link to/usr/bin/, and enter firefox on the terminal to open firefox.

Sudo ln-s/usr/lib/firefox/usr/bin/

In this firefox6 version, firefox is the execution program, and some versions may be firefox. sh. Check carefully.

In this way, the installation is completed, and the installation diagram is attached:

View version 6.0

Now, Firefox 6.0 has been configured, but you may find that Firefox's shortcuts and "Applications ---> Network" do not contain Firefox charts, next we will teach you how to get the icon out.

1. input:

Cd/usr/share/applications

2. input:

Sudo vi firefox. desktop

Enter the following content in vi, save and exit (enter wq in the command line after editing)

  1. [Desktop Entry]
  2. Name = Firefox 6.0
  3. Comment =ThisIs firefox
  4. Exec =/usr/lib/firefox
  5. Icon =/usr/lib/firefox/icons/mozicon128.png
  6. Terminal =False
  7. Type = Application
  8. Categories = Application; Network;

Now let's take a look at Applications ---> is there an icon in the Network ?? You can also right-click it and choose send to panel or desktop.

Note: The following articles are provided during installation:

Ubuntu Linux Firefox Cross version upgrade method detailed explanation http://www.linuxidc.com/Linux/2011-08/41003.htm

Install Firefox in Ubuntu and create a method http://www.linuxidc.com/Linux/2011-08/41002.htm for shortcuts

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.