个人工具

UbuntuHelp:ThunderbirdNewVersion

来自Ubuntu中文

Wikibot讨论 | 贡献2009年11月17日 (二) 20:48的版本

跳转至: 导航, 搜索

<<Include(Tag/Unsupported)>>

Thunderbird 2.0 for Gutsy Gibbon 7.10

Gutsy Gibbon 7.10 provides currently released version of Thunderbird 2.0. Simply install the software from repositories.

sudo apt-get install thunderbird thunderbird-gnome-support

If you are interested in the pre-release version of Thunderbird 3.0, keep reading.

Thunderbird 1.5 for Fiesty Fawn 7.04

If you don't mind having the slightly older version of Thunderbird (don't worry--it still gets security patches within a week or two), you can use the one available through the repositories. Just paste this command into the|terminal:

sudo apt-get update && sudo apt-get install mozilla-thunderbird

Installing the newest version of Thunderbird from Mozilla

This is designed to help you use newer versions of the Mozilla Thunderbird than those available from the Ubuntu repositories. At present, version 1.5 of Thunderbird is the latest version available for Ubuntu 7.04 (Feisty Fawn) in the repositories. Newer versions contain some new features and immediate security patches. Thunderbird 2.0 is the current release (as of April 18, 2007) from Mozilla. It is covered in this Howto. Thunderbird 3.0 is in alpha testing and is available as nightly builds. It is not covered in this Howto, although steps laid out in Manual Installation section generally apply. Ubuntu-Mozillateam will provide supported repos for newer versions of packages found in the Ubuntu repos here.|All other methods will be unsupported by Ubuntu-* teams and we will discourage People from using them. The Ubuntu Mozillateam packages and maintains Mozilla products in Ubuntu repos. The packages adhere the same packaging standards as the official releases. Of course, they lack the amount of testing and thus might have undiscovered bugs. If you find a bug in our packages please go to Bugs to see how to report them. At the time of writing on October 29, 2007, Mozillateam does not provide support for Thunderbird 3.0 and Lightning 0.7. Stay tuned for Mozillateam updates.

Notes

  • Nearly all extensions are now compatible with version 2.0. However, many extensions may be incompatible with trunk (3.0) versions.
  • You may be able to use extensions marked as incompatible using the Nightly Tester Tools extension.
  • This is loosely based on/inspired by the FirefoxNewVersion HowTo
  • In some cases (e.g. Thunderbird crashes because of SCIM, InputMethods/SCIM), you might consider compile the source code directly, see CompileThunderbirdNewVersion

Automated installation of the latest Thunderbird

There are two methods to avoid manual installation - using the Ubuntuzilla installation script, or using a third-party repository from Iuculano. The repository method is preferred under the following conditions: you are using Ubuntu Feisty, you are OK with being one or two minor versions behind the latest, you are not looking for the official Mozilla build of the software (the packages in the repository are built from source by the repository maintainer, not by the Mozilla developers). The benefit of using the repo over the script is that using a repository is a clean and officially-sanctioned method of software installation on Ubuntu. The script method is your choice if you are using any version of Ubuntu, are looking for the very latest Mozilla release, want the official Mozilla-built binaries, and do not mind going out-of-repo for your software. The benefit of the script over the repository is that you get the very latest release without delay, and are subsequently able to use the built-in updater in Thunderbird.

Automated script-based installation of the newest Thunderbird (32-bit and 64-bit)

The Ubuntuzilla project maintains an automated script that backs up your Thunderbird profile if you have one, locates and downloads the latest Thunderbird release, allows you to select a locale, verifies download integrity with Mozilla Software Releases GPG signature, and installs Thunderbird to /opt/thunderbird with all the proper symlinks in /usr/bin. In other words, it does everything this step-by-step tutorial does and more... but with less copying and pasting and more error checking. Detailed usage instructions and more information are available on Ubuntuzilla project site. 64-bit users, you'll need some extra 32-bit compatibility packages (see this note for 64 bit users). If you run into any problems with this script, or have feature requests, comments, suggestions, please feel free to post on the Ubuntuzilla project forum, now officially hosted on the Ubuntu forums in the 3rd Party Projects area.

Thunderbird 2.0 for Fiesty Fawn 7.04 (32-bit and 64-bit versions -- preferred method)

Repository packages for the 32bit and 64 bit version of Thunderbird 2.0.latest for Ubuntu Feisty (7.04) are now available. This is a summary of instructions posted by the author for this repository. First, open a terminal window. Then add the repository's key to your system's list of trusted APT keys by copy and pasting the following:

wget http://ubuntu.iuculano.it/AE3BE9AA.gpg -O- | sudo apt-key add -

Second, add a third party repository to your /etc/apt/sources.list. (Help for this available at AddingRepositoriesHowto)

deb http://ubuntu.iuculano.it feisty thunderbird
deb-src http://ubuntu.iuculano.it feisty thunderbird

After adding the repository, you can install Thunderbird 2.0 like it were any other package, such as by using the Synaptic Package Manager under System->Administration. You will need to select packages named

  1. thunderbird
  2. thunderbird-locale-<your language package>, for example, thunderbird-locale-en-gb for English
  3. (optional, not for kubuntu users) thunderbird-gnome-support
  • Note: Make sure you select thunderbird packages, which are version 2.0, not mozilla-thunderbird, which are version 1.5 packages.

Alternatively, run the following command in the|terminal:

sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get install thunderbird-locale-en-gb thunderbird thunderbird-gnome-support

Manual instructions for installing the newest Thunderbird (32-bit only)

This method will work for Thunderbird 3.0 granted you download the latest version

Moving your current Thunderbird mail into the new location for Thunderbird

  • These versions of Thunderbird are configured to look in ~/.thunderbird for your profile data and settings, unlike the package from Synaptic which is set up to look in ~/.mozilla-thunderbird. So if you've currently got a profile, copy it to ~/.thunderbird. (If you're installing from scratch, you can skip this step). Paste these commands into the|terminal:
cd
cp -r .mozilla-thunderbird .thunderbird
  • Copying rather than moving is recommended: this preserves your old settings as a backup, and ensures that you can continue to use the stable version while using/testing the newer versions. The two directories can coexist without a problem.

Installing instructions for newest Thunderbird

Download the gzipped tarball for version you want to install

As of this writing, the latest version is 2.0.0.6

wget -c http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/2.0.0.6/linux-i686/en-US/thunderbird-2.0.0.6.tar.gz

If you are interested in the latest nightly build of Thunderbird 3.0 (DANGEROUS)

wget -c http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-trunk/thunderbird-3.0a1pre.en-US.linux-i686.tar.bz2
and substitute the package name in the instructions below accordingly.
Extract the zipped archive
sudo tar -C /opt -zxvf thunderbird-2.0.0.6.tar.gz
Make launcher command available to all users
sudo dpkg-divert --divert /usr/bin/mozilla-thunderbird.ubuntu --rename /usr/bin/mozilla-thunderbird
sudo ln -s /opt/thunderbird/thunderbird /usr/bin/mozilla-thunderbird
sudo ln -s /opt/thunderbird/thunderbird /usr/bin/thunderbird
sudo ln -s /opt/thunderbird/thunderbird-bin /opt/thunderbird/mozilla-thunderbird-bin
This "divert" business allows you to still run the old Thunderbird version using the command
mozilla-thunderbird.ubuntu

Running the new Thunderbird

  • You can now launch the new version with your old profile from the command-line. By running:
thunderbird
  • If you decided to use `thunderbird` from the command line, you may need to adjust the properties of your Gnome panel & menu launchers accordingly. To modify Gnome panel launchers right click and select Properties. Then change the old command to the new command if you changed it from mozilla-thunderbird to thunderbird. To change your link in the Applications menu, use Applications > System Tools > Application Menu Editor. This lets you use the official icons if you've gone through the trouble of updating them (see the Unofficial Ubuntu Guide).
  • Should you need it, the Thunderbird profile manager can still be accessed via:
thunderbird -P

Install dictionaries

To install dictionaries in the new Thunderbird you need to run it as superuser.

  1. First, download the desired dictionaries from http://www.mozilla.com/thunderbird/dictionaries.html
  2. Just to be on the safe site, make a backup of your mail and settings:
cp -R ~/.thunderbird ~/.thunderbird-backup

3.#3 Then start

sudo -H thunderbird

4.#4 Ignore all the import and account setups, go to the extension manager, install the dictionaries.

  1. Close Thunderbird
  2. Start it as regular user, et voila.

Troubleshooting

New Account Setup Wizard comes up

It seems that some people are having problems with the "New Account Setup Wizard" coming up when it is not supposed to. The workaround that people have found is to rename the .thunderbird folder, re-setup your account and then copy back your mail. Here's how:

  1. Go to your home folder in the File Manager.
  2. Click "View->Show Hidden Files"
  3. Find the ".thunderbird" folder and rename it to something like ".thunderbird-backup"
  4. Try re-running Thunderbird and reset up your account and see if things work.
  5. You can copy back mail from your .thunderbird-backup folder into your .thunderbird folder.

"(QFA)Talkback error: Can't initialize." error

I'm pretty sure it is safe to just ignore this error.

My Thunderbird was configured with version 1.5, but now it's prompting me for my mail account

  • Versions of Thunderbird from mozilla.org are configured to look in ~/.thunderbird for your profile data and settings. Versions from Synaptic are set up to look in ~/.mozilla-thunderbird. If you are unsure, where your profile is, run the following two commands in the the|terminal to determine which one contains your configuration.
ls ~/.thunderbird/*.default/*Mail
ls ~/.mozilla-thunderbird/*.default/*Mail

Depending where your profile is, Paste these commands into the|terminal:

  • copy the profile from .mozilla-thunderbird to .thunderbird
cd
cp -r .mozilla-thunderbird .thunderbird

or

  • copy the profile from .thunderbird to .mozilla-thunderbird
cd
cp -r .thunderbird .mozilla-thunderbird
  • Copying rather than moving is recommended: this preserves your old settings as a backup, and ensures that you can continue to use the stable version while using/testing the newer versions. The two directories can coexist without a problem.
  • Advanced users only: You can share the profile between two different versions. Note that such configuration may break some extensions. Use the following commands:
cd
ln -s .thunderbird .mozilla-thunderbird

or

cd
ln -s .mozilla-thunderbird .thunderbird

Further Reading

Still having problems?

Post your questions in : the Ubuntu Forums and we will try to help you.