Skip to content

Instantly share code, notes, and snippets.

@cryptrz
Last active December 30, 2023 05:12
Show Gist options
  • Save cryptrz/6fcbce53c9b37c80eac9947985ac774f to your computer and use it in GitHub Desktop.
Save cryptrz/6fcbce53c9b37c80eac9947985ac774f to your computer and use it in GitHub Desktop.
Manual Firefox install on a Linux distro and icon creation
FIREFOX DEVELOPER EDITION:
Download Firefox Developer: https://www.mozilla.org/en-US/firefox/developer/
Go to /opt folder:
cd /opt
Decompress the downloaded file (Adapt <user> and <version>):
sudo tar -xvf /home/<user>/Downloads/firefox-<version>.tar.bz2
Rename the folder as firefox-dev:
sudo mv firefox firefox-dev
Create a symbolic link to be executable from terminal:
sudo ln -s /opt/firefox-dev/firefox /usr/local/bin/firefox-dev
Create the menu shortcut:
cd ~/.local/share/applications/ (For Debian and forks "cd /usr/share/applications")
vim 'userapp-Firefox Developer Edition.desktop' (For Debian and forks "vim firefox-dev.desktop")
Add this to the file:
[Desktop Entry]
Name=Firefox Developer
Comment=Developer edition of the Firefox browser
Exec=/opt/firefox-dev/firefox
Icon=/opt/firefox-dev/browser/chrome/icons/default/default128.png
Terminal=false
Type=Application
Categories=Web;
FIREFOX NIGHTLY:
Download Firefox Developer: https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly
Go to /opt folder:
cd /opt
Decompress the downloaded file (Adapt <user> and <version>):
sudo tar -xvf /home/<user>/Downloads/firefox-<version>.tar.bz2
Rename the folder as firefox-nightly:
sudo mv firefox firefox-nightly
Create a symbolic link to be executable from terminal:
sudo ln -s /opt/firefox-nightly/firefox /usr/local/bin/firefox-nightly
Create the menu shortcut:
cd ~/.local/share/applications/ (For Debian and forks "cd /usr/share/applications")
vim 'userapp-Firefox Nightly.desktop' (For Debian and forks "vim firefox-nightly.desktop")
Add this to the file:
[Desktop Entry]
Name=Firefox Nightly
Comment=Nightly edition of the Firefox browser
Exec=/opt/firefox-nightly/firefox
Icon=/opt/firefox-nightly/browser/chrome/icons/default/default128.png
Terminal=false
Type=Application
Categories=Web;
FIREFOX BETA:
Download Firefox Developer: https://www.mozilla.org/en-US/firefox/channel/desktop/#beta
Go to /opt folder:
cd /opt
Decompress the downloaded file (Adapt <user> and <version>):
sudo tar -xvf /home/<user>/Downloads/firefox-<version>.tar.bz2
Rename the folder as firefox-beta:
sudo mv firefox firefox-beta
Create a symbolic link to be executable from terminal:
sudo ln -s /opt/firefox-beta/firefox /usr/local/bin/firefox-beta
Create the menu shortcut:
cd ~/.local/share/applications/ (For Debian and forks "cd /usr/share/applications")
vim 'userapp-Firefox Beta.desktop' (For Debian and forks "vim firefox-beta.desktop")
Add this to the file:
[Desktop Entry]
Name=Firefox Beta
Comment=Beta edition of the Firefox browser
Exec=/opt/firefox-beta/firefox
Icon=/opt/firefox-beta/browser/chrome/icons/default/default128.png
Terminal=false
Type=Application
Categories=Web;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment