Comment
Author: Admin | 2025-04-27
Want to update the browser, we’d recommend that you just upgrade your Ubuntu operating system entirely. This will update all of your installed packages rather than just the single Firefox package.$ sudo apt upgradeUninstall FirefoxTo uninstall Firefox from your system, we’ll use another apt command. This command will remove Firefox from your system:$ sudo apt remove firefoxInstall, update, and uninstall Firefox from Mozilla PPA repositoryThe following section will explain how to install, update, and uninstall Mozilla Firefox from the command line, using the Mozilla developer PPA repository. Remember that this method will install the latest version of Firefox, even if it’s in beta and considered a little less than stable.Install FirefoxFirst, we need to add the Mozilla signing key to our system:$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6DCF7707EBC211FNext, add Mozilla’s PPA repository and update the list of available packages in apt:$ sudo apt-add-repository "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu focal main"$ sudo apt updateFinally, if all went well up till now, install the latest version of Firefox with this command:$ sudo apt install firefoxUninstall FirefoxYou can still uninstall Firefox in the traditional way, with apt at the command line:$ sudo apt remove firefoxInstall, update, and uninstall Firefox with direct downloadThe following section will explain how to install, update, and uninstall Mozilla Firefox from the command line, using the official Mozilla website. If you already have an alternative browser installed on your system and you’re not the type who likes to fiddle with the command line, remember that you can just navigate to Mozilla.org and download the installation file.Install FirefoxUse wget to download the latest version of Firefox directly from Mozilla’s website into your user’s home directory:$ wget -O ~/FirefoxSetup.tar.bz2 "https://download.mozilla.org/?product=firefox-latest&os=linux64"Next, extract the Firefox package to your system’s /opt/ directory:$ sudo tar xjf ~/FirefoxSetup.tar.bz2 -C /opt/It’s a good idea to make a backup of the original Firefox binary executable in case we need to switch back to the default Ubuntu Firefox version:$ sudo mv /usr/lib/firefox/firefox /usr/lib/firefox/firefox_backupLastly, create an /usr/lib/firefox/firefox executable by creating a new symbolic link from the /opt/firefox directory:$ sudo ln -s /opt/firefox/firefox /usr/lib/firefox/firefoxFirefox should now be installed and usable.Update FirefoxTo update your
Add Comment