Install Firefox on Linux
Revision Information
- Revision id: 238475
- Created:
- Creator: Danny Colin
- Comment: [WIP] Update manually install instructions
- Reviewed: No
- Ready for localization: No
Revision Source
Revision Content
Table of Contents
This article explains how to download and install Firefox on a Linux.
Install from your distribution package manager (Recommended)
To install Firefox using your distribution package manager, please refer to your Linux distribution's documentation.
This method is the recommended way because it ensures Firefox and all the required libraries are installed and configured optimally for your distribution. However, there may be a small delay between the official release of a new version of Firefox and the moment when your distribution updates the version it distributes. Your distribution may also distribute it without the Firefox branding.
Install from Flatpak
To install Firefox from Flatpak, install and configure Flatpak on your computer. Once Flatpak is installed, go to the Firefox Flathub's page and click the button. Alternatively, you can type the following command in a terminal:
flatpak install flathub org.mozilla.firefox
By default, Flatpak installs Firefox in the same locale as your operating system. To use a different language, please follow the instructions on how to use Firefox in another language.
Install Firefox from Mozilla builds (For advanced users)
- Before you install Firefox, make sure that your computer has the required libraries installed. Missing libraries will cause Firefox to be inoperable.
- To install Firefox with this method, you must be able to login as root or execute
sudo
commands.
1. Go to the Firefox download page and click on the button.
2. Open a terminal and go to the folder where your download has been saved. For example:
cd ~/Downloads
3. Extract the contents of the downloaded file by typing:
tar xjf firefox-*.tar.bz2
4. Move the uncompressed Firefox folder to /opt:
mv firefox /opt
5. Create a symlink to the Firefox executable:
ln -s /opt/firefox/firefox /usr/local/bin/firefox
6. Create a .desktop file in /usr/local/share/applications:
touch /usr/local/share/applications/firefox.desktop
7. Open the newly created desktop file with your preferred text editor. For example:
nano /usr/local/share/applications/firefox.desktop
8. Copy the following in /usr/local/share/applications/firefox.desktop:
[Desktop Entry]
Version=1.0
Name=Firefox
GenericName=Web Browser
GenericName[fr]=Navigateur Web
Comment=Browse the Web
Comment[fr]=Naviguer sur Internet
Exec=firefox %u
Icon=/path/to/icon
Terminal=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
Actions=new-window;new-private-window;profile-manager-window;
StartupWMClass=Firefox
[Desktop Action new-window]
Name=Open a New Window
Name[fr]=Nouvelle fenêtre
Exec=firefox --new-window %u
[Desktop Action new-private-window]
Name=Open a New Private Window
Name[fr]=Nouvelle fenêtre de navigation privée
Exec=firefox --private-window %u
[Desktop Action profile-manager-window]
Name=Open the Profile Manager
Name[fr]=Gestionnaire de profils
Exec=firefox --ProfileManager