A script to easily install, update, and uninstall Firefox Developer Edition on Linux.
Download .sh file.
wget https://raw.githubusercontent.com/saihon/setup-firefox-dev-sh/main/setup-firefox-dev.shChange file mode.
chmod 755 setup-firefox-dev.shMove to a directory in your PATH (e.g., /usr/local/bin/).
sudo mv setup-firefox-dev.sh /usr/local/bin/| Command | Alias(es) | Description |
|---|---|---|
| install | -i,--install | Install Firefox Developer Edition. |
| update | -u,--update | Update if a new version is available. |
| update-force | --update-force | Force update without version check. |
| uninstall | -U,--uninstall | Uninstall Firefox Developer Edition. |
| version | -v,--version | Show the script version. |
| help | -h,--help | Display the help message. |
Installs the latest Firefox Developer Edition.
sudo setup-firefox-dev.sh install- Download the latest
.tar.gz2archive to/tmpdirectory. - Extracts the archive to
/opt/firefox-dev. - Creates a symbolic link at
/usr/local/bin/firefox-dev. - Creates a desktop entry file at
/usr/share/applications/Firefox-dev.desktop. - Saves the version information to
/opt/firefox-dev/.version.
Checks for a new version and updates if one is found.
sudo setup-firefox-dev.sh update- Compares the currently iinstalled version with the latest version available on the server.
- If a new version is available, it downloads and extracts it, overwriting the previous installation.
Removes all files and links created by the script.
sudo setup-firefox-dev.sh uninstall- Deletes the installation directory:
/opt/firefox-dev. - Deletes the symbolic link:
/usr/local/bin/firefox-dev. - Deletes the desktop entry file:
/usr/share/applications/Firefox-dev.desktop.