Gracefully installing Firefox 67 on Debian.

Davi Figueiredo Davi Figueiredo Follow Jun 03, 2019 · 1 min read
Gracefully installing Firefox 67 on Debian.

Before anything, notice that this installation will be unable to access your profile previously installed Firefox versions.

Debian and other Linux distros use ESR versions, which makes you unable to use the package manager to install it. I highly recommend you to keep both the ESR and the latest version or use Firefox Sync - the single sync app that I trust.

  1. Download the latest Firefox directly from the Firefox page or just click here for the latest Linux version.

  2. Extract and move its content to the /opt folder. You need to be sudo to do that. The /opt folder is the right place to put handmade installed apps.

  3. Make a chmod +x on the firefox application to enable its capacity to run as an executable. Notice that I am using sudo just because I moved it into /opt before making the modification.

cd /opt/{check your location}
sudo chmod +x firefox
  1. Create a symbolic link to the executable. Notice that you have to check the path to your Firefox installation to create the symbolic link.
    sudo ln -s /opt/{check your location}/firefox /usr/bin/firefox
    
  2. Create your own .desktop file. This part makes it available to interact with the native menus for a seamless experience. For this part, I took an already built .desktop from the previously supported Firefox (ESR) and made some mods.

You can download a beutifully built .desktop file from my git repository.

Place it inside /usr/share/applications if you want this icon to be available to all users. For your local users only, place it inside ~/.local/share/applications. You can check your menus to see if it shows up correctly.

Davi Figueiredo
Written by Davi Figueiredo
IT Manager and Full-Stack Developer, enthusiast of decentralization. Designer, musician, and bodybuilder in free time.