27
Install Firefox on Linux
I have faced this issue that no article or no forum shows correct way to install firefox on debian based distros, or maybe I haven't found such article, but anyways I figured out myself.
Step 1
Download your desired firefox browser.
Download your desired firefox browser.
Step 2
Extract firefox tar file and it should give you the internal firefox folder in your downloads folder.
Extract firefox tar file and it should give you the internal firefox folder in your downloads folder.
Step 3
Now to move that extracted firefox folder to
Now to move that extracted firefox folder to
/opt
directory.sudo mv ~/Downloads/firefox /opt
Step 4
Now to create firefox's
Now to create firefox's
.desktop
file in user's applications directorycd ~/.local/share/applications
You can name your firefox desktop file anything like I have installed firefox developer addition, so my file name is
firefox-dev.desktop
. But you can name it anything which is relevant.touch firefox-dev.desktop
nano firefox-dev.desktop
Inside this file my configuration is something like this:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=/opt/firefox/firefox
Name=Firefox Developer Edition
Icon=/opt/firefox/browser/chrome/icons/default/default128.png
Comment=Custom definition for Firefox Developer Edition
Terminal=fasle
Note:
/opt/firefox
pointing to firefox executable file.