
{"id":44935,"date":"2023-12-19T11:29:04","date_gmt":"2023-12-19T11:29:04","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44935"},"modified":"2025-05-09T01:39:53","modified_gmt":"2025-05-09T01:39:53","slug":"install-firefox-beta-official-repository","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/12\/install-firefox-beta-official-repository\/","title":{"rendered":"How to Install Firefox Beta in Ubuntu \/ Debian [New Official Repository]"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/firefox-icon-feature.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-34790\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/firefox-icon-feature-250x250.png\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/firefox-icon-feature-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/firefox-icon-feature-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/firefox-icon-feature-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/firefox-icon-feature-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2021\/10\/firefox-icon-feature.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This simple tutorial shows how to install <b>Firefox Beta<\/b>, <b>Firefox Developer Edition<\/b>, or <b>Firefox Nightly<\/b> in Debian, Ubuntu, Linux Mint, using the new official repository.<\/p>\n<p>Mozilla <a href=\"https:\/\/blog.nightly.mozilla.org\/2023\/10\/30\/introducing-mozillas-firefox-nightly-deb-packages-for-debian-based-linux-distributions\/\" target=\"_blank\" rel=\"noopener\">announced<\/a> new official apt repository for Debian and Ubuntu users few months ago, which contains the .deb package for Firefox Nightly build.<\/p>\n<p>Now, the repository also contains packages for Firefox Beta and Firefox Developer Edition! And, here&#8217;s step by step guide shows how to use it to install the latest packages in your system.<\/p>\n<p><b>NOTE 1: Ubuntu also has an <a href=\"https:\/\/launchpad.net\/~mozillateam\/+archive\/ubuntu\/firefox-next\" target=\"_blank\" rel=\"noopener\">official PPA<\/a> contains Firefox Beta package. Though, it&#8217;s maintained by members from Ubuntu Team.<br \/>\nNOTE 2: This tutorial is tested and works in Debian 12, Ubuntu 20.04, Ubuntu 22.04, and Ubuntu 24.04.<\/b><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-121beta.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44939\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-121beta-600x371.webp\" alt=\"\" width=\"600\" height=\"371\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-121beta-600x371.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-121beta-300x186.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-121beta-768x475.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-121beta-1320x817.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-121beta.webp 1356w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Step 1: Install the Repository Key<\/h3>\n<p>To add the new repository, you need to first download &amp; install the key, so your system will trust the packages from it.<\/p>\n<p>First, open terminal either from start menu or by pressing <b>Ctrl+Alt+T<\/b> on keyboard.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-38555\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy-300x172.png\" alt=\"\" width=\"300\" height=\"172\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy-300x172.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/04\/terminal-jammy.png 522w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>When terminal opens, run command to make sure &#8216;\/etc\/apt\/keyrings&#8217; exist for storing the keys.<\/p>\n<pre>sudo mkdir -p \/etc\/apt\/keyrings<\/pre>\n<p>Then, download &amp; install the key by running the single command below in terminal:<\/p>\n<pre>wget -q https:\/\/packages.mozilla.org\/apt\/repo-signing-key.gpg -O- | sudo tee \/etc\/apt\/keyrings\/packages.mozilla.org.asc &gt; \/dev\/null<\/pre>\n<p><i>If &#8216;wget&#8217; command not found, run <code>sudo apt install wget<\/code> to install it.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-keyring.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44936\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-keyring-600x226.webp\" alt=\"\" width=\"600\" height=\"226\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-keyring-600x226.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-keyring-300x113.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-keyring-768x290.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-keyring.webp 822w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After that, you can verify the new key file by listing the content of that directory: <code>ls \/etc\/apt\/keyrings<\/code>.<\/p>\n<h3>Step 2: Add Mozilla&#8217;s Official Repository<\/h3>\n<p>Also in a terminal window, run the single command below will create a config file and write the source repository.<\/p>\n<pre>echo \"deb [signed-by=\/etc\/apt\/keyrings\/packages.mozilla.org.asc] https:\/\/packages.mozilla.org\/apt mozilla main\" | sudo tee \/etc\/apt\/sources.list.d\/mozilla.list &gt; \/dev\/null<\/pre>\n<p>This command creates <code>mozilla.list<\/code> file under <code>\/etc\/apt\/sources.list.d<\/code> directory, then writes the content under double quotes into it.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-apt-repository.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44937\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-apt-repository-600x265.webp\" alt=\"\" width=\"600\" height=\"265\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-apt-repository-600x265.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-apt-repository-300x132.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-apt-repository-768x339.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/mozilla-apt-repository.webp 822w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>When done, you may verify by running <code>cat \/etc\/apt\/sources.list.d\/mozilla.list<\/code> to print the source file content.<\/p>\n<h3>Step 3: Install Firefox Stable, Beta, Dev, or Nightly<\/h3>\n<p>After adding the apt repository and key, run the command below to refresh system package cache:<\/p>\n<pre>sudo apt update<\/pre>\n<p>Finally, install Firefox Beta by running command:<\/p>\n<pre>sudo apt install firefox-beta<\/pre>\n<p><b>The repository also contains Firefox Stable, Development, and Nightly versions! Replace <code>firebox-beta<\/code> in last command with <code>firefox<\/code>, <code>firefox-devedition<\/code>, or <code>firefox-nightly<\/code> according which version you want to install. <\/b>For STABLE version,\u00a0 you however NEED to set higher PPA priority.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefoxbeta-jammy.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44938\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefoxbeta-jammy-600x389.webp\" alt=\"\" width=\"600\" height=\"389\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefoxbeta-jammy-600x389.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefoxbeta-jammy-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefoxbeta-jammy-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefoxbeta-jammy.webp 822w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Non-English user may also install the language package by running command:<\/p>\n<pre>sudo apt install firefox-beta-l10n-xx<\/pre>\n<p><i>Replace <b>xx<\/b> with the shortcode for your language. Also, replace <b>beta<\/b> for dev or nightly version accordingly.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefox-locale.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44940\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefox-locale-600x389.webp\" alt=\"\" width=\"600\" height=\"389\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefox-locale-600x389.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefox-locale-300x195.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefox-locale-768x498.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/apt-firefox-locale.webp 822w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Step 4: (Optional) Change the App Name to Differ from Firefox Stable<\/h3>\n<p>The new Firefox Beta uses same logo to Firefox Stable, and it also displayed as &#8220;Firefox&#8221; in start menu.<\/p>\n<p>If you have more than one edition of Firefox packages in system, then you may have to differ them from each other by changing the name.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-changename.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44941\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-changename-536x600.webp\" alt=\"\" width=\"536\" height=\"600\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-changename-536x600.webp 536w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-changename-268x300.webp 268w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/12\/firefox-changename.webp 594w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/a><\/p>\n<p>To do so, first launch terminal (Ctrl+Alt+T) and run command to copy the <code>.desktop<\/code> config file from system to local directory:<\/p>\n<pre>sudo cp \/usr\/share\/applications\/firefox-beta.desktop ~\/.local\/share\/applications\/<\/pre>\n<p>Then, change the app name to &#8220;Firefox Beta&#8221; by running command:<\/p>\n<pre>desktop-file-edit --set-name=\"Firefox Beta\" ~\/.local\/share\/applications\/firefox-beta.desktop<\/pre>\n<p>The change should apply automatically in few seconds. If not, run <code>sudo update-desktop-database<\/code> to update the database manually.<\/p>\n<p>If you also want to differ the icon, use <code>--set-icon='\/path\/to\/new\/icon'<\/code> in last command.<\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to install Firefox Beta, Firefox Developer Edition, or Firefox Nightly in Debian, Ubuntu, Linux Mint, using the new official repository. Mozilla announced new official apt repository for Debian and Ubuntu users few months ago, which contains the .deb package for Firefox Nightly build. Now, the repository also contains packages for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34790,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1194,2057],"class_list":["post-44935","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-firefox","tag-web"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=44935"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44935\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34790"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}