Vergelyk wysigings
Install Thunderbird on Linux
Wysiging 293442:
Wysiging 293442 deur AliceWyman op
Wysiging 298418:
Wysiging 298418 deur rtanglao op
Sleutelwoorde:
Soekresultaat-opsomming:
This article will show you how to install Thunderbird on Linux.
This article will show you how to install Thunderbird on Linux.
Inhoud:
This article explains how to download and install Thunderbird on Linux. {for mac,win}This article only applies to Linux. {for mac}For instructions to install Thunderbird on Mac, see [[Installing Thunderbird on Mac]]. {/for}{for win}For instructions to install Thunderbird on Windows, see [[Installing Thunderbird on Windows]].{/for}{/for}
{note}Note: if you have Thunderbird installed via multiple methods (deb, rpm, flatpak, snap, etc) you may have multiple application icons that are identical. To avoid this, we recommend installing using only one installation method at a time.{/note}
__TOC__
= Install from Flatpak =
The [https://flathub.org/apps/org.mozilla.Thunderbird Thunderbird flatpak] package and tarballs are maintained directly by the Thunderbird staff. Therefore, these tend to be more quickly updated to newer stable versions than other sources.
To install Thunderbird from Flatpak, you will need to install flatpak and setup flathub, if not already on your system. Flathub is the central repository for flatpaks and contains well maintained [https://flathub.org/setup instructions on setting up flatpak installs for various distributions].
Once flatpak and flathub are all set up, you can either download and install it all from the command line, or separately download the ''flatpakref'' file and head to the command line to install it.
== How to install with the command line (easier and much cooler) ==
<code>
flatpak install flathub org.mozilla.Thunderbird
</code>
== How to install with the Graphical User Interface ==
# Visit [https://flathub.org/apps/org.mozilla.Thunderbird Thunderbird on Flathub].
# Click {button Install} and follow the instructions. You can find more options in the dropdown menu next to that button, if necessary.
= Install from Snap =
The [https://snapcraft.io/thunderbird Thunderbird snap] package is maintained by Canonical and Thunderbird.
To install Thunderbird from Snap:
# [https://snapcraft.io/docs/installing-snapd Install Snap] on your computer.
# Visit [https://snapcraft.io/thunderbird Snapcraft's Store page].
# Click {button Install} and follow the instructions.
= Installing from your distribution package manager =
Linux distributions normally create packages for installing Mozilla Thunderbird easily, using tools that are included with the Linux distribution. The package may contain modifications for better integration with the operating system. Maintainers of the Linux distribution control when new updates of their Thunderbird software are made available, so there may be a delay between when your distribution provides a newest available version or update compared to when an official new version or update is available at [https://www.thunderbird.net Thunderbird.net] or in the flatpak. Your distribution may also provide Thunderbird without the Thunderbird branding.
To install Thunderbird using your distribution package manager, please refer to your Linux distribution's documentation. This method has the benefit of ensuring that Thunderbird and all the required libraries are installed and configured optimally for your distribution.
= Installing Thunderbird manually for a Specific Release Channel (For advanced users) =
{note}'''NOTE''': This instruction set is for users that wish to install for troubleshooting purposes or to use a specific [[#w_thunderbird-channels|release channel]], for example beta or daily. Unless you know what you are doing and are familiar with using a command line, please install Thunderbird using one of the methods previously described.{/note}
== Thunderbird channels ==
Thunderbird offers four channels: '''Release''' (also known as Monthly, available March 2025), '''ESR''' (annual major releases), '''Beta''', and '''Daily'''. These are described in detail on the [https://developer.thunderbird.net/releases/channels developer page], with further information and tips in the article about [[Thunderbird Beta]]. Please make sure your computer has the required libraries installed. Missing libraries may cause Thunderbird to be inoperable or unreliable. The requirement list can vary by channel: [https://www.thunderbird.net/thunderbird/128.8.0esr/system-requirements/ ESR requirements], [https://www.thunderbird.net/thunderbird/136.0/system-requirements/ Release, Beta, Daily requirements].
==Changing channels==
It is possible to change channels and keep using your existing Thunderbird data, for example to go from ESR to Release. But if you want to use a different channel and not change your existing Thunderbird data to that channel, see [[#w_running-multiple-channels|Running multiple channels]]. When changing channels you will want avoid complications and protect your profile data:
* Backup your [[Profiles - Where Thunderbird stores your messages and other user data|Thunderbird profile data]].
* Only move to a channel which offers a higher or equal version number. Therefore, the possible progressions are to go from ESR to Release, Release to Beta, and Beta to Daily. Once your profile data has been loaded with a newer version, you will not be able to load it with a lower version.
* You must install the newer version in the '''exact same''' installation directory name as the older version. If using the '''system''' method below, do <code>rm -rf /opt/thunderbird</code> and then install the chosen download into /opt/thunderbird/. If using the '''home''' method below, do <code>rm -rf $HOME/thunderbird</code> and then install the chosen download into $HOME/thunderbird/.
==Running multiple channels==
It is possible to have multiple channels of Thunderbird installed, and even run them simultaneously. Each must be installed in a '''different''' installation directory, which will force [[Dedicated profile per Thunderbird installation|multiple Thuderbird data profiles to be used]] in order to protect and keep your data separated.
== Installation location ==
When installing Thunderbird manually, you can choose to install it either in the '''system''' or '''home''' folder. Below you will find instructions for both.
=== System Thunderbird installation ===
{note}
* To install Thunderbird with this method, you '''must be''' able to login as root or execute <code>sudo</code> commands.
* This installation will have priority over the Thunderbird version installed through your package manager. To run the version installed with your package manager, you will need to execute the binary from a terminal. To do so in most distributions, open a terminal and type: <code>/usr/bin/thunderbird</code>.
{/note}
#Download your choice of installation channel from the [https://thunderbird.net/download/ download page]. The file will be in the form of ''thunderbird-<version>.tar.bz2''.
#Open a terminal and go to the folder where your download has been saved. For example:<br><code>cd ~/Downloads</code>
#Extract the downloaded file contents. This will create a folder named ''thunderbird''. After that, you can delete the archive:<br><code>tar xjf thunderbird-*.tar.bz2<br>rm thunderbird-*.tar.bz2</code>
#Move the uncompressed Thunderbird folder to {filepath /opt}:<br><code>sudo mv thunderbird /opt</code>
#Create a symlink to the Thunderbird executable:<br><code>sudo ln -s /opt/thunderbird/thunderbird /usr/local/bin/thunderbird</code>
#Download a copy of the desktop file:<br><code>wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/installing-thunderbird-linux/thunderbird.desktop -P /usr/local/share/applications</code>
Alternatively, if <code>wget</code> is not installed on your computer, go to the URL mentioned above, right-click on the page to open the contextual menu and select {menu Save Page As}. After you downloaded the file, move it to {filepath /usr/local/share/applications}.
To confirm everything is installed correctly, open Thunderbird from the newly created desktop file, and go to {menu ≡} > {menu Help} > {menu Troubleshooting Information}. In the ''Application Basics'' section of the ''Troubleshooting Information'' page, the value of ''Application Binary'' should be <code>/opt/thunderbird/thunderbird-bin</code>.
=== Home Thunderbird installation - local in a user's account ===
If you don't have access to login as root or execute <code>sudo</code> commands, or just prefer to use a local Thunderbird in your account, you can make a local installation. You can also do this to have multiple Thunderbird installations for different builds.
#Download your choice of installation channel from the [https://thunderbird.net/download/ download page]. The file will be in the form of <code>thunderbird-<version>.tar.bz2</code>.
#Open a terminal and go to the folder where your download has been saved. For example:<br><code>cd ~/Downloads</code>
#Extract the downloaded file contents. This will create a folder named ''thunderbird''. After that, you can delete the archive:<br><code>tar xjf thunderbird-*.tar.bz2<br>rm thunderbird-*.tar.bz2</code>.
#If you have downloaded a specific build, you may want to rename the uncompressed folder accordingly. For example:<br><code>mv thunderbird thunderbird-beta</code>.
#You can leave the uncompressed folder in your ''download'' folder, or move it to another place in your account. For example:<br><code>mv thunderbird $HOME/thunderbird</code>.
#Thunderbird is now ready to be used. You can run it directly from the terminal:<br><code>$HOME/thunderbird/thunderbird &</code>.
#Create a desktop shortcut. Note this step may be different in your Linux distribution. (Some Linux distros will allow you to right-click on the desktop and choose {menu Create launcher} from the context menu):<br><code>wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/installing-thunderbird-linux/thunderbird.desktop -P $HOME/.local/bin/thunderbird</code>.
#Since the icon for the desktop shortcut will be found in {filepath $HOME/thunderbird/chrome/icons/default/ } and the executable is in {filepath $HOME/thunderbird}, we need to change these lines in our desktop file that we just downloaded:<br><code>sed -i.bak -e "s|Exec=thunderbird %u|Exec=$HOME/thunderbird/thunderbird %u|" $HOME/.local/share/applications/thunderbird.desktop<br><br>sed -i.bak -e "s|Icon=/opt/thunderbird/chrome/icons/default/default128.png|Icon=$HOME/thunderbird/chrome/icons/default/default128.png|" $HOME/.local/share/applications/thunderbird.desktop</code>.
Now, your Thunderbird application icon should be found among your other applications and you can launch Thunderbird as you expect.
{note}'''Note''': This method doesn't change file types binding on the system, so ''mailto'' links from other applications will not open in the local installation. You will need to copy the email address and paste it manually in Thunderbird.{/note}
== Thunderbird icon is displayed as a generic icon ==
If you are using GNOME and the Thunderbird icon is displayed as a generic icon (e.g., a gear icon), additional configuration of the <code>thunderbird.desktop</code> launcher is required. The following ensures the correct application icon is displayed for Thunderbird.
Identify the <code>wmclass</code> for Thunderbird:
# Press <code>Alt+F2</code> while Thunderbird is running to launch the run command console.
# Type <code>lg</code> and press Enter.
# In the window that appears, click on <code>Windows</code> in the upper-right corner.
# Locate Thunderbird's <code>wmclass</code> in the displayed list.
Modify the <code>thunderbird.desktop</code> launcher:
# Open the <code>thunderbird.desktop</code> file in a text editor.
# In the <code>[Desktop Entry]</code> section, add or update the <code>StartupWMClass</code> key to include the <code>wmclass</code> value you found earlier. For example: <code>StartupWMClass=thunderbird-esr</code>.
This article explains how to download and install Thunderbird on Linux. {for mac,win}This article only applies to Linux. {for mac}For instructions to install Thunderbird on Mac, see [[Install Thunderbird on Mac]]. {/for}{for win}For instructions to install Thunderbird on Windows, see [[Install Thunderbird on Windows]].{/for}{/for}
{note}Note: if you have Thunderbird installed via multiple methods (''deb'', ''rpm'', ''flatpak'', ''snap'', etc. ) you may have multiple application icons that are identical. To avoid this, we recommend installing using only one installation method at a time.{/note}
__TOC__
= Install from Flatpak =
The [https://flathub.org/apps/org.mozilla.Thunderbird Thunderbird flatpak] package and tarballs are maintained directly by the Thunderbird staff. Therefore, these tend to be more quickly updated to newer stable versions than other sources.
To install Thunderbird from Flatpak, you will need to install flatpak and setup flathub, if not already on your system. Flathub is the central repository for flatpaks and contains well maintained [https://flathub.org/setup instructions on setting up flatpak installs for various distributions].
Once flatpak and flathub are all set up, you can either download and install it all from the command line, or separately download the {filepath flatpakref} file and head to the command line to install it.
== How to install with the command line (easier and much cooler) ==
<code>
flatpak install flathub org.mozilla.Thunderbird
</code>
== How to install with the Graphical User Interface ==
# Visit [https://flathub.org/apps/org.mozilla.Thunderbird Thunderbird on Flathub].
# Click {button Install} and follow the instructions. You can find more options in the dropdown menu next to that button, if necessary.
= Install from Snap =
The [https://snapcraft.io/thunderbird Thunderbird snap] package is maintained by Canonical and Thunderbird.
To install Thunderbird from Snap:
# [https://snapcraft.io/docs/installing-snapd Install Snap] on your computer.
# Visit [https://snapcraft.io/thunderbird Snapcraft's Store page].
# Click {button Install} and follow the instructions.
= Installing from your distribution package manager =
Linux distributions normally create packages for installing Mozilla Thunderbird easily, using tools that are included with the Linux distribution. The package may contain modifications for better integration with the operating system. Maintainers of the Linux distribution control when new updates of their Thunderbird software are made available, so there may be a delay between when your distribution provides a newest available version or update compared to when an official new version or update is available at [https://www.thunderbird.net Thunderbird.net] or in the flatpak. Your distribution may also provide Thunderbird without the Thunderbird branding.
To install Thunderbird using your distribution package manager, please refer to your Linux distribution's documentation. This method has the benefit of ensuring that Thunderbird and all the required libraries are installed and configured optimally for your distribution.
= Installing Thunderbird manually for a specific release channel (For advanced users) =
{note}'''NOTE''': This instruction set is for users that wish to install for troubleshooting purposes or to use a specific [[#w_thunderbird-channels|release channel]], for example beta or daily. Unless you know what you are doing and are familiar with using a command line, please install Thunderbird using one of the methods previously described.{/note}
== Thunderbird channels ==
Thunderbird offers four channels: '''Release''' (also known as Monthly, available March 2025), '''ESR''' (annual major releases), '''Beta''', and '''Daily'''. These are compared at [[How to select a Thunderbird release channel]], with further information and tips in the articles about [[Thunderbird Beta]], [[Thunderbird Daily]]. Please make sure your computer has the required libraries installed. Missing libraries may cause Thunderbird to be inoperable or unreliable. The requirement list can vary by channel: [https://www.thunderbird.net/thunderbird/128.8.0esr/system-requirements/ ESR requirements], [https://www.thunderbird.net/thunderbird/136.0/system-requirements/ Release, Beta, Daily requirements].
==Changing channels==
It is possible to change channels and keep using your existing Thunderbird data, for example to go from ESR to Release. But if you want to use a different channel and not change your existing Thunderbird data to that channel, see [[#w_running-multiple-channels|Running multiple channels]]. When changing channels you will want avoid complications and protect your profile data:
* Backup your [[Profiles - Where Thunderbird stores your messages and other user data|Thunderbird profile data]].
* Only move to a channel which offers a higher or equal version number. Therefore, the possible progressions are to go from ESR to Release, Release to Beta, and Beta to Daily. Once your profile data has been loaded with a newer version, you will not be able to load it with a lower version.
* You must install the newer version in the '''exact same''' installation directory name as the older version. If using the '''system''' method below, do <code>rm -rf /opt/thunderbird</code> and then install the chosen download into {filepath /opt/thunderbird/}. If using the '''home''' method below, do <code>rm -rf $HOME/thunderbird</code> and then install the chosen download into {filepath $HOME/thunderbird/}.
==Running multiple channels==
It is possible to have multiple channels of Thunderbird installed, and even run them simultaneously. Each must be installed in a '''different''' installation directory, which will force [[Dedicated profile per Thunderbird installation|multiple Thunderbird data profiles to be used]] in order to protect and keep your data separated.
== Installation location ==
When installing Thunderbird manually, you can choose to install it either in the '''system''' or '''home''' folder. Below you will find instructions for both.
=== System Thunderbird installation ===
{note}
* To install Thunderbird with this method, you '''must be''' able to login as root or execute <code>sudo</code> commands.
* This installation will have priority over the Thunderbird version installed through your package manager. To run the version installed with your package manager, you will need to execute the binary from a terminal. To do so in most distributions, open a terminal and type: <code>/usr/bin/thunderbird</code>.
{/note}
#Download your choice of installation channel from the [https://thunderbird.net/download/ download page]. The file will be in the form of {filepath thunderbird-<version>.tar.bz2}.
#Open a terminal and go to the folder where your download has been saved. For example:<br><code>cd ~/Downloads</code>
#Extract the downloaded file contents. This will create a folder named {filepath thunderbird}. After that, you can delete the archive:<br><code>tar xjf thunderbird-*.tar.bz2<br>rm thunderbird-*.tar.bz2</code>
#Move the uncompressed Thunderbird folder to {filepath /opt}:<br><code>sudo mv thunderbird /opt</code>
#Create a symlink to the Thunderbird executable:<br><code>sudo ln -s /opt/thunderbird/thunderbird /usr/local/bin/thunderbird</code>
#Download a copy of the desktop file:<br><code>wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/installing-thunderbird-linux/thunderbird.desktop -P /usr/local/share/applications</code>
>
Alternatively, if <code>wget</code> is not installed on your computer, go to the URL mentioned above, right-click on the page to open the contextual menu and select {menu Save Page As}. After you downloaded the file, move it to {filepath /usr/local/share/applications}.
To confirm everything is installed correctly, open Thunderbird from the newly created desktop file, and go to {menu ≡} > {menu Help} > {menu Troubleshooting Information}. In the ''Application Basics'' section of the ''Troubleshooting Information'' page, the value of ''Application Binary'' should be <code>/opt/thunderbird/thunderbird-bin</code>
=== Home Thunderbird installation - local in a user's account ===
If you don't have access to login as root or execute <code>sudo</code> commands, or just prefer to use a local Thunderbird in your account, you can make a local installation. You can also do this to have multiple Thunderbird installations for different builds.
#Download your choice of installation channel from the [https://thunderbird.net/download/ download page]. The file will be in the form of {filepath thunderbird-<version>.tar.bz2}.
#Open a terminal and go to the folder where your download has been saved. For example:<br><code>cd ~/Downloads</code>
#Extract the downloaded file contents. This will create a folder named {filepath thunderbird}. After that, you can delete the archive:<br><code>tar xjf thunderbird-*.tar.bz2<br>rm thunderbird-*.tar.bz2</code>
#If you have downloaded a specific build, you may want to rename the uncompressed folder accordingly. For example:<br><code>mv thunderbird thunderbird-beta</code>
#You can leave the uncompressed folder in your {filepath download} folder, or move it to another place in your account. For example:<br><code>mv thunderbird $HOME/thunderbird</code>
#Thunderbird is now ready to be used. You can run it directly from the terminal:<br><code>$HOME/thunderbird/thunderbird &</code>
#Create a desktop shortcut. Note this step may be different in your Linux distribution. (Some Linux distros will allow you to right-click on the desktop and choose {menu Create launcher} from the context menu):<br><code>wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/installing-thunderbird-linux/thunderbird.desktop -P $HOME/.local/bin/thunderbird</code>
#Since the icon for the desktop shortcut will be found in {filepath $HOME/thunderbird/chrome/icons/default/} and the executable is in {filepath $HOME/thunderbird}, we need to change these lines in our desktop file that we just downloaded:<br><code>sed -i.bak -e "s|Exec=thunderbird %u|Exec=$HOME/thunderbird/thunderbird %u|" $HOME/.local/share/applications/thunderbird.desktop<br><br>sed -i.bak -e "s|Icon=/opt/thunderbird/chrome/icons/default/default128.png|Icon=$HOME/thunderbird/chrome/icons/default/default128.png|" $HOME/.local/share/applications/thunderbird.desktop</code>
Now, your Thunderbird application icon should be found among your other applications and you can launch Thunderbird as you expect.
{note}'''Note''': This method doesn't change file types binding on the system, so ''mailto'' links from other applications will not open in the local installation. You will need to copy the email address and paste it manually in Thunderbird.{/note}
== Thunderbird icon is displayed as a generic icon ==
If you are using GNOME and the Thunderbird icon is displayed as a generic icon (e.g., a gear icon), additional configuration of the <code>thunderbird.desktop</code> launcher is required. The following ensures the correct application icon is displayed for Thunderbird.
Identify the <code>wmclass</code> for Thunderbird:
# Press <code>Alt+F2</code> while Thunderbird is running to launch the run command console.
# Type <code>lg</code> and press Enter.
# In the window that appears, click on <code>Windows</code> in the upper-right corner.
# Locate Thunderbird's <code>wmclass</code> in the displayed list.
Modify the <code>thunderbird.desktop</code> launcher:
# Open the <code>thunderbird.desktop</code> file in a text editor.
# In the <code>[Desktop Entry]</code> section, add or update the <code>StartupWMClass</code> key to include the <code>wmclass</code> value you found earlier. For example: <code>StartupWMClass=thunderbird-esr</code>
= Troubleshooting =
== Snap Profile Issues ==
If you ''DO NOT'' have an already existing Thunderbird profile in your home directory, then the snap will generate and use a profile located in the Thunderbird snap location: {filepath ~/snap/thunderbird/common/.thunderbird}.
If you ''DO'' have an already existing Thunderbird profile in your home directory, then the snap will use it.
If for some reason you feel like your normal profile (whichever profile location you've been using) is not being used, here are some steps you can take to try and recover:
# Remove the snap. When snapd removes a snap from your system, it automatically makes a backup of that snap and stores it in the {filepath /var/lib/snapd/snapshots/} directory. If your profile directory was inside the snap at {filepath ~/snap/thunderbird/common/.thunderbird}, then the backup can take a while (because profile directories can be quite large). Be patient while the backup is generated. (Note that this is not the only way to create a backup. You can manually intiate a backup with <code>snap save thunderbird</code>)
# Make sure there is no existing {filepath ~/.thunderbird} profile directory:<br><code>$ mv ~/.thunderbird ~/.thunderbird-backup</code>
# Re-install the Thunderbird snap:<br><code>$ sudo snap install thunderbird</code>
# Restore from your snapshot. This will apply the thunderbird profile inside that snapshot to your fresh snap install. Look in the {filepath /var/lib/snapd/snapshots/} directory to locate the most recent snapshot or the one you want to use. The leading number corresponds to the snapshot number. For example if there is a {filepath /var/lib/snapd/snapshots/14_thunderbird_128.11.0esr-1_735.zip}, the restore command would be:<br><code>$ sudo snap restore 14</code>
[https://snapcraft.io/docs/snapshots You can read more about snap snapshots here.]