• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Update And Install Firefox In Linux Terminal Ubuntu

How To Update And Install Firefox In Linux Terminal Ubuntu

By Sourabh / November 14, 2025 Category: How To, Ubuntu

How to update and install the latest Firefox in Linux terminal Ubuntu. Linux users can install Firefox on popular Linux distros via package manager or install Firefox via direct download from Mozilla.

NOTE: To install Firefox with this method, you must execute all the commands as root user.

  1. Go to the Firefox download page, and click Download for Linux 32-bit or Download for Linux 64-bit.
  2. Open a terminal, and go to the folder where your download has been saved. For example: cd ~/Downloads Extract the contents of the downloaded file by typing: tar xjf firefox-*.tar.bz2
  3. Move the uncompressed Firefox folder to /opt: mv firefox /opt
  4. Create a symlink to the Firefox executable: ln -s /opt/firefox/firefox /usr/local/bin/firefox
  5. Download a copy of the desktop file: wget https://raw.githubusercontent.com/mozilla/sumo-kb/main/install-firefox-linux/firefox.desktop -P /usr/local/share/applications

Once installed, the Firefox is now ready to be used. You can run it directly from the terminal: ~/firefox/firefox &

You can also create a desktop shortcut, or:

  • Right-click on the desktop, and choose Create launcher from the context menu.
  • You can also type this on the terminal: ln -s ~/firefox/firefox ~/Desktop/
  • An icon for the desktop shortcut will be found in ~/firefox/browser/chrome/icons/default/

NOTE: Once you install the Firefox using the above commands, you will still have the older Firefox (installed previously) in yous system.

Also Read: Install Mozilla Firefox As Deb In Ubuntu Terminal Without Snap

Make a note that to run the version installed with your package manager, you will need to execute the binary from a terminal. To do so open a terminal and type “/usr/bin/firefox”. (see above).

Primary Sidebar

Latest Posts

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

Use Locate Command To Find File In Linux Terminal By Name

How To Change Terminal Color In Ubuntu Command Line

How To Run Fsck Manually In Linux To Fix Unexpected Inconsistency

How To Fix Broken Packages On Ubuntu From Terminal

Re Execute The Previous Command In Linux Ubuntu Command Line

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap