How to install Firefox on Arch Linux

Endrit Qerreti

Endrit Qerreti

There are several ways to install firefox on Arch Linux. However, in this tutorial, we'll be installing Firefox on Arch Linux by using pacman package manager to download the firefox package that can be found on main repositories of Arch Linux.

Installing Firefox via official repository on Arch Linux is very simple, as all you have to do is use terminal and pacman, without having to download or install something else.

This is because any package on Arch Linux official repository, can be easily downloaded via pacman.

Even though firefox is pre installed on many linux distros. When it comes to Arch Linux, you need to install it manually.

In this tutorial, you will learn how to install Firefox on Arch Linux.

Install Firefox on Arch Linux

Step 1 - Update Arch Linux

Before installing Firefox on your Arch Linux system, proceed to check for updates, in case you have packages that needs an update.

Updating arch linux packages is needed so firefox package can be downloaded without any issues.

To update your Arch Linux system, run the command below.

sudo pacman -Syu

Step 2 - Install Firefox

Once you have updated your system, you can now proceed to install Firefox.

Firefox is available on extra and AUR repository on Arch Linux, which means you can install firefox by using pacman or an AUR helper. In this tutorial, we are going to install the official package of firefox firefox that is available on extra Arch Linux repository, and using only pacman.

1) To install firefox, first run the command below.

sudo pacman -S firefox

2) Next, enter sudo password. Sudo permission is required in order to be able to install a package via pacman.

3) Once authenticated, you need to confirm that you want to install Firefox. To do so, simply press Y to answer with Yes and then press enter.

4)Firefox should now be installed on your machine.

Step 3 - Verify Firefox Installation

Firefox should be now installed on your Arch Linux system. To verify that firefox was installed correctly, check its version by issuing.

firefox --version

Step 4 - Use Firefox

If the version command above worked, it means that firefox is able to run. To launch firefox, you can do so by running the command below.

firefox

Launching firefox via terminal is easy and faster to do. However, you can also launch firefox using GUI.

Uninstall Firefox on Arch Linux

To uninstall firefox, simply remove the firefox package that you installed.

sudo pacman -R firefox

Conclusion

In this tutorial, you learned how to install and uninstall firefox web browser on Arch Linux.

By using the official package firefox from the extra repository on Arch Linux.