{"id":6293,"date":"2024-01-26T09:41:56","date_gmt":"2024-01-26T16:41:56","guid":{"rendered":"https:\/\/jasonsblog.ddns.net\/?p=6293"},"modified":"2024-01-26T09:44:32","modified_gmt":"2024-01-26T16:44:32","slug":"how-to-install-firefox-as-a-deb-package-on-debian-ubuntu-or-linux-mint","status":"publish","type":"post","link":"https:\/\/jasonsblog.ddns.net\/index.php\/2024\/01\/26\/how-to-install-firefox-as-a-deb-package-on-debian-ubuntu-or-linux-mint\/","title":{"rendered":"How to Install Firefox from Mozilla&#8217;s New Repository for the Latest Optimized Version on Debian Based Distributions"},"content":{"rendered":"\n<p>If you run Debian an annoying thing is they default to Firefox ESR, Extended Support Release, which is behind the latest version of Firefox and more for enterprise use for more stability with web applications. But now Mozilla manages their own repository you can add to easily have the latest version of Firefox and an additional benefit is Mozilla applies some compiler based optimizations. You can also keep Firefox ESR if necessary for any websites or web application that might not work as well with the latest Firefox version. <\/p>\n\n\n\n<p><a href=\"https:\/\/9to5linux.com\/how-to-install-firefox-as-a-deb-package-in-debian-ubuntu-or-linux-mint\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/9to5linux.com\/how-to-install-firefox-as-a-deb-package-in-debian-ubuntu-or-linux-mint<\/a><\/p>\n\n\n<div class=\"wp-block-ub-divider ub_divider ub-divider-orientation-horizontal\" id=\"ub_divider_5774ded0-3915-49b5-bf68-40cbfe4f417f\"><div class=\"ub_divider_wrapper\" style=\"position: relative; margin-bottom: 2px; width: 100%; height: 2px; \" data-divider-alignment=\"center\"><div class=\"ub_divider_line\" style=\"border-top: 2px solid #ccc; margin-top: 2px; \"><\/div><\/div><\/div>\n\n\n<p>By Marius Nestor<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/9to5linux.com\/wp-content\/uploads\/2024\/01\/ff122d.webp?resize=1400%2C800&amp;ssl=1\" alt=\"Firefox DEB\"\/><\/figure>\n\n\n\n<p>Starting with <strong><a href=\"https:\/\/9to5linux.com\/mozilla-firefox-122-is-now-available-for-download-heres-whats-new\">Firefox 122<\/a><\/strong>, Mozilla now provides a DEB package for Linux users using Ubuntu, Debian GNU\/Linux, Linux Mint, or another derivative distribution. Here\u2019s a quick tutorial on how to install Firefox as a DEB package.<\/p>\n\n\n\n<p>Firefox is the most popular open-source web browser among many Linux distributions. Yet, it comes pre-installed from the distro\u2019s software repositories and users won\u2019t always receive the latest versions as soon as they\u2019re available upstream, nor the benefits of the official DEB package built by Mozilla.<\/p>\n\n\n\n<p>The <strong><a href=\"https:\/\/9to5linux.com\/mozilla-doubles-down-on-firefox-deb-package-for-debian-based-linux-distros\">Firefox DEB package<\/a><\/strong> promises better performance due to Mozilla\u2019s advanced compiler-based optimizations and hardened binaries with all security flags enabled during compilation. In addition, you\u2019ll get access to the latest stable updates as fast as possible and you won\u2019t have to restart Firefox anymore after upgrading it.<\/p>\n\n\n\n<p>To install the Firefox DEB package on Ubuntu, Debian GNU\/Linux, <strong><a href=\"https:\/\/9to5linux.com\/linux-mint-21-3-edge-iso-released-with-linux-kernel-6-5\">Linux Mint<\/a><\/strong>, or another derivative distribution, you have two alternatives: download the DEB package from or install an APT repository from Mozilla. This tutorial will cover the latter as you\u2019ll always receive the latest Firefox version without hassle.<\/p>\n\n\n\n<p>To install Mozilla\u2019s APT repository, first create a directory to store the APT repository keys (if it doesn\u2019t exist) by running the following command in the Terminal app.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo install -d -m 0755 \/etc\/apt\/keyrings<\/code><\/pre>\n\n\n\n<p>Next, you need to import the Mozilla APT repository signing key so run the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -q https:\/\/packages.mozilla.org\/apt\/repo-signing-key.gpg -O- | sudo tee \/etc\/apt\/keyrings\/packages.mozilla.org.asc &gt; \/dev\/null<\/code><\/pre>\n\n\n\n<p>Next, you must add the Mozilla APT repository to your sources list by running the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb &#91;signed-by=\/etc\/apt\/keyrings\/packages.mozilla.org.asc] https:\/\/packages.mozilla.org\/apt mozilla main\" | sudo tee -a \/etc\/apt\/sources.list.d\/mozilla.list &gt; \/dev\/null<\/code><\/pre>\n\n\n\n<p>Next, you need to configure APT to prioritize packages from the Mozilla repository with the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo '\nPackage: *\nPin: origin packages.mozilla.org\nPin-Priority: 1000\n' | sudo tee \/etc\/apt\/preferences.d\/mozilla <\/code><\/pre>\n\n\n\n<p>Finally, it\u2019s time to refresh the package list and install the Firefox DEB package with the next commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update &amp;&amp; sudo apt-get install firefox<\/code><\/pre>\n\n\n\n<p>That\u2019s it! You now have the official Firefox DEB package from Mozilla installed on your Debian-based distribution. This tutorial should also work on other Debian or Ubuntu-based distros like Linux Lite or Bodhi Linux.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/9to5linux.com\/wp-content\/uploads\/2024\/01\/ff1122u.webp?resize=930%2C473&amp;ssl=1\" alt=\"\" class=\"wp-image-20765\"\/><\/figure>\n\n\n\n<p><em>Firefox installed as a DEB package in Ubuntu 23.10<\/em><\/p>\n\n\n\n<p>Mozilla\u2019s APT repository also contains DEB packages for Firefox language packs if you want to install Firefox with a specific language. You can see the list of available languages with the <code>apt-cache search firefox-l10n<\/code> command and install your favorite language pack with the <code>sudo apt-get install firefox-l10n-fr<\/code> command (replace <code>fr<\/code> at the end of the command with the language code you want to install).<\/p>\n\n\n\n<p><em>Source: <a href=\"https:\/\/support.mozilla.org\/en-US\/kb\/install-firefox-linux#\" target=\"_blank\" rel=\"noreferrer noopener\">Mozilla<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you run Debian an annoying thing is they default to Firefox ESR, Extended Support Release, which is behind the latest version of Firefox and more for enterprise use for more stability with web applications. But now Mozilla manages their own repository you can add to easily have the latest version of Firefox and an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-6293","post","type-post","status-publish","format-standard","hentry","category-tech"],"blocksy_meta":[],"featured_image_src":null,"author_info":{"display_name":"Jason","author_link":"https:\/\/jasonsblog.ddns.net\/index.php\/author\/jturning\/"},"_links":{"self":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/6293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/comments?post=6293"}],"version-history":[{"count":4,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/6293\/revisions"}],"predecessor-version":[{"id":6297,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/posts\/6293\/revisions\/6297"}],"wp:attachment":[{"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/media?parent=6293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/categories?post=6293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jasonsblog.ddns.net\/index.php\/wp-json\/wp\/v2\/tags?post=6293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}