Upgrade to Firefox 3.5 on Ubuntu 9.04 – Jaunty Jackalope

Firefox 3.5 was released yesterday. This is an exciting new release complete with features such as support for HTML 5, video and audio that works in the browser without the need for plugins, a much faster Javascript engine, a native JSON parser, private browsing mode, support for SVG transformations, and other great enhancements.

先来看看,Firefox 3.5发布了。这个版本是在Safari新版发布和Chrome发布之后出的,所以必然会有一些新的吸引人的特性。首先是HTML 5,这个被google支持、被mozilla基金会支持的标准。无插件即可用的标准当然好。然后还有一个具有竞争性的Javascript引擎,这个当然是冲着v8去的。效率当然会比3.0时代好一些。具体速度快不快我不知道,因为我的电脑已经升级了,这个已经不是关注的话题。支持JSON是出乎我意料的,因为这几天正在研究这个。JSON体积小、解析快,实在是(此处省去1350字)啊。。。SVG早晚要成为标准支持之一,支持了很好。

I’m sure that you’re just as excited to get started with Firefox 3.5 as I was yesterday when I heard the news. But wait! We’re on Ubuntu, we can’t just install whatever we want, we need to wait for a package. Right? Wrong.

这位老兄跟我一样兴奋。但是可惜的是Ubuntu9.04源中带的版本是3.0,升级通过Synpatic殊为不易。只能手工了。不过的还有个遗憾就是不知道什么时候Firefox出个amd64版本,效能就更好了。当然可以自己下载源码重新编译,因为最近忙别的,等忙完再动手。

Here’s a really quick way to get 3.5.2 running on your Ubuntu 9.04 system.

以下是这位老兄总结的Ubuntu 9.04下安装Firefox 3.5.2的快速办法。写成shell更好?更坏?

Open up Terminal (Applications > Accessories > Terminal) and run the following commands:

  1. cd /tmp
  2. wget "http://download.mozilla.org/?product=firefox-3.5.2&os=linux&lang=en-US"
    Note: Your download link may be different depending on your country and language. I got the link by clicking the download link, canceling  the automatic download, right-clicking the “Your download should automatically begin in a few seconds, but if not, click here” link, and selecting Copy Link Location.
  3. tar xvjf firefox-*.bz2
  4. sudo cp -r firefox /usr/lib/firefox-3.5.2
  5. sudo mv /usr/bin/firefox /usr/bin/firefox.old
  6. sudo ln -s /usr/lib/firefox-3.5.2/firefox /usr/bin/firefox-3.5.2
  7. sudo ln -s /usr/bin/firefox-3.5.2 /usr/bin/firefox

Close Firefox and then reopen. You should now be running Firefox 3.5.2.

现在关闭firefox再打开就已经是Firefox 3.5.2了。

If for whatever reason you’d like to switch back to your previous version of Firefox, simply run the following commands from Terminal:

如果你有相当的意愿要修改回去,就用下述步骤恢复吧:

  1. sudo mv /usr/bin/firefox /usr/bin/firefox.bak
  2. sudo mv /usr/bin/firefox.old /usr/bin/firefox

Notice how I even create a backup of the original firefox before replacing it. It is always a good idea to do this if you replace programs yourself. This way you won’t be likely to remove a binary or script that you won’t be able to get back easily.

原文:http://gaarai.com/2009/07/01/upgrade-to-firefox-3-5-on-ubuntu-9-04-jaunty-jackalope/

说明,照着打就是快。ln命令格式都要忘了,不man一下还真会忘谁先谁后。

说明,我喜欢Firefox 3.5的原因是Chromifox这个主题。因为google设计的界面简洁好用,Chromifox实现得非常好。当然,更因为它有源码,将来可以从中看看线程模型。

打赏

《Upgrade to Firefox 3.5 on Ubuntu 9.04 – Jaunty Jackalope》有2个想法

  1. 又,update之后会自动恢复到3.0系列,执行:
    1. sudo mv /usr/bin/firefox /usr/bin/firefox.old
    2. sudo ln -s /usr/bin/firefox-3.5.2 /usr/bin/firefox
    即可

  2. 看了http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=221508
    还是apt-get好用
    sudo apt-get install firefox-3.5

发表评论

电子邮件地址不会被公开。 必填项已用*标注