Linux Build Prerequisites
This page has all the information you need to get your GNU/Linux development environment set up and ready to hack on Thunderbird.
You need a 64 bit version of Linux in order to build Thunderbird. You can check which version you're running by typing this command in your terminal:
if this command returns
x86_64you can proceed.
You can check with
python --versionto see if you have it already. If not, you can install it with your distribution’s package manager. Make sure your system is up to date!
The Thunderbird build will take up to 30 GB of disk space in order to complete. Be sure to have enough free space and a fast internet connection to avoid interruptions.
Access the location where you downloaded the
mozilla-centralsource code, most likely
source/and trigger this command:
You will be asked to choose from the following list of options
Please choose the version of Firefox you want to build:
1. Firefox for Desktop Artifact Mode
2. Firefox for Desktop
3. GeckoView/Firefox for Android Artifact Mode
4. GeckoView/Firefox for Android
Please choose option 2 to proceed with a successful build.
This action will install all the libraries and dependencies necessary to build Thunderbird locally.
It could happen that some libraries will not be installed by the
bootstrapcommand, specifically those related to the
Rustprogramming language. Check whether these packages are available in your system by running these commands in your terminal:
If one or both commands return an empty output, you need to install them manually:
- Install Rust and cargo (the Rust package manager):
curl https://sh.rustup.rs -sSf | sh
- Install cbindgen (tool that generates C bindings from Rust code):
cargo install cbindgen