{"id":44344,"date":"2023-09-09T13:28:05","date_gmt":"2023-09-09T13:28:05","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=44344"},"modified":"2024-05-05T13:17:48","modified_gmt":"2024-05-05T13:17:48","slug":"install-firefox-nightly-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2023\/09\/install-firefox-nightly-ubuntu\/","title":{"rendered":"How to Install Firefox Nightly in Ubuntu 22.04 &#038; 24.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-logo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-44345\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-logo-250x250.webp\" alt=\"\" width=\"250\" height=\"250\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-logo-250x250.webp 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-logo-300x300.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-logo-600x600.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-logo-768x768.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-logo.webp 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>This simple tutorial shows how to install the latest Firefox Nightly in all current Ubuntu releases!<\/p>\n<p>Firefox Nightly is the bleeding edge version of the web browser that updates twice a day. It contains features that are still in developments months or even years before they become mainstream.<\/p>\n<p>The Nightly build is more likely to crash than the stable release. For testing purpose or power-user who prefer the very latest features, here you can install Firefox Nightly via 3 ways!<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44349\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-600x370.webp\" alt=\"\" width=\"600\" height=\"370\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-600x370.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-300x185.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-768x473.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-1320x814.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly.webp 1332w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Method 1: Install Firefox Nightly via Snap package<\/h3>\n<p>The easiest way to get Firefox Nightly is using the Snap package. It receives updates automatically, however, will <strong>override the pre-installed Firefox<\/strong>, by updating it to the latest edge channel.<\/p>\n<p>Ubuntu 22.04 and higher users, can simply open Ubuntu Software (or App Center). Search Firefox and switch channel\/source to &#8220;latest\/edge&#8221;.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-snapstore-edge.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44346\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-snapstore-edge-600x340.webp\" alt=\"\" width=\"600\" height=\"340\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-snapstore-edge-600x340.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-snapstore-edge-300x170.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-snapstore-edge-768x435.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-snapstore-edge.webp 1018w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>Or, press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal. When terminal opens, run the command below instead to install Firefox Nightly:<\/p>\n<pre>snap refresh firefox --channel=latest\/edge<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/snap-firefox-edge.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44347\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/snap-firefox-edge-600x176.webp\" alt=\"\" width=\"600\" height=\"176\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/snap-firefox-edge-600x176.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/snap-firefox-edge-300x88.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/snap-firefox-edge-768x225.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/snap-firefox-edge.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>NOTE: The Snap package will take use the previous profile.<\/b> In the case, you can open <code>about:profiles<\/code> page, then create a new profile and set it as default.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-profile.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44348\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-profile-600x427.webp\" alt=\"\" width=\"600\" height=\"427\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-profile-600x427.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-profile-300x214.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-profile-768x547.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-profile-1320x940.webp 1320w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/firefox-nightly-profile.webp 1332w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Method 2: Use New Apt Repository<\/h3>\n<p>Mozilla announced new official <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\">apt repository<\/a> recently. It contains the <code>.deb<\/code> package of most recent Firefox Nightly package for all current Ubuntu and Debian releases.<\/p>\n<p>1. First, press Ctrl+Alt+T on keyboard to open terminal. When terminal opens, run command to download &amp; install the key for that repository:<\/p>\n<pre>wget -q https:\/\/packages.mozilla.org\/apt\/repo-signing-key.gpg -O- | gpg --dearmor | sudo tee \/etc\/apt\/keyrings\/packages.mozilla.org.gpg &gt; \/dev\/null<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozillaorg-key.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44645\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozillaorg-key-600x242.webp\" alt=\"\" width=\"600\" height=\"242\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozillaorg-key-600x242.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozillaorg-key-300x121.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozillaorg-key-768x310.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozillaorg-key.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>2. Next, add the apt repository by running the single command below:<\/p>\n<pre>echo \"deb [signed-by=\/etc\/apt\/keyrings\/packages.mozilla.org.gpg] https:\/\/packages.mozilla.org\/apt mozilla main\" | sudo tee -a \/etc\/apt\/sources.list.d\/mozilla.list &gt; \/dev\/null<\/pre>\n<p>This command will create the &#8216;<code>mozilla.list<\/code>&#8216; file under <i>\/etc\/apt\/sources.list.d<\/i> directory and write the source line into it.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-nightly-aptrepo.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44648\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-nightly-aptrepo-600x232.webp\" alt=\"\" width=\"600\" height=\"232\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-nightly-aptrepo-600x232.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-nightly-aptrepo-300x116.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-nightly-aptrepo-768x297.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-nightly-aptrepo.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><br \/>\n3. Finally, refresh the system package cache:<\/p>\n<pre>sudo apt update<\/pre>\n<p>And, install the Nightly build of Firefox from that repository by running command:<\/p>\n<pre>sudo apt install firefox-nightly<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-nightly.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44647\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-nightly-600x244.webp\" alt=\"\" width=\"600\" height=\"244\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-nightly-600x244.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-nightly-300x122.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-nightly-768x312.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-nightly.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<h3>Method 3: Install Firefox Nightly via Ubuntu PPA<\/h3>\n<p>For choice, there&#8217; a <a href=\"https:\/\/launchpad.net\/~ubuntu-mozilla-daily\/+archive\/ubuntu\/ppa\" target=\"_blank\" rel=\"noopener\">daily build PPA<\/a> maintained by Ubuntu members. Which, so far supports Ubuntu 20.04, Ubuntu 22.04, Ubuntu 23.10, and Ubuntu 24.04<\/p>\n<p>The PPA is a good choice, since it contains native <code>.deb<\/code> package. It <strong>will NOT override any other Firefox Stable<\/strong> package (neither deb nor snap), and uses its own profile for storing user data.<\/p>\n<p><b>1.<\/b> To add the PPA, first press <b>Ctrl+Alt+T<\/b> on keyboard to open terminal. When it opens, run command:<\/p>\n<pre>sudo add-apt-repository ppa:ubuntu-mozilla-daily\/ppa<\/pre>\n<p><i>Type user password (no asterisk feedback) when it asks and hit Enter to continue.<\/i><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-daily.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44350\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-daily-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-daily-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-daily-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-daily-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/mozilla-daily.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>2.<\/b> Linux Mint user needs to manually update the system package cache after adding PPA, though its done automatically in Ubuntu 20.04 and higher:<\/p>\n<pre>sudo apt update<\/pre>\n<p><b>3.<\/b> Finally, install the Firefox Nightly build by running command:<\/p>\n<pre>sudo apt install firefox-trunk<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-trunk.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-44351\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-trunk-600x407.webp\" alt=\"\" width=\"600\" height=\"407\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-trunk-600x407.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-trunk-300x203.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-trunk-768x521.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/apt-firefox-trunk.webp 786w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>After installing the package, launch it from &#8216;Activities&#8217; overview screen or app menu depends on your desktop environments. And, you can use &#8220;<b>Software Updater<\/b>&#8221; (or Update Manager) every day to keep the package up-to-date.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/launch-firefox-edge.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-44352\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/launch-firefox-edge.webp\" alt=\"\" width=\"558\" height=\"273\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/launch-firefox-edge.webp 558w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2023\/09\/launch-firefox-edge-300x147.webp 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><\/p>\n<h3>Uninstall Firefox Nightly<\/h3>\n<p><b>For the Snap package<\/b>, just open terminal and run command will restore to the pre-installed Firefox package:<\/p>\n<pre>snap refresh firefox --channel=latest\/stable<\/pre>\n<p>However, the restored Firefox Snap will create a new user profile instead of using the original one, though you can manually backup and restore your important data.<\/p>\n<p><b>For the apt repository package,<\/b> open terminal (Ctrl+Alt+T) and run command to remove it:<\/p>\n<pre>sudo apt remove --autoremove firefox-nightly<\/pre>\n<p>To remove the source repository, just delete the source file and key by running the 2 commands below one by one:<\/p>\n<pre>sudo rm \/etc\/apt\/sources.list.d\/mozilla.list<\/pre>\n<pre>sudo rm \/etc\/apt\/keyrings\/packages.mozilla.org.asc<\/pre>\n<p>And, refresh system package cache via <code>sudo apt update<\/code> to apply change.<\/p>\n<p><b>For the PPA package<\/b>, run the command below to remove it:<\/p>\n<pre>sudo apt remove --autoremove firefox-trunk<\/pre>\n<p>Also remove the Ubuntu PPA by either running command:<\/p>\n<pre>sudo add-apt-repository --remove ppa:ubuntu-mozilla-daily\/ppa<\/pre>\n<p>or use &#8220;Software &amp; Updates&#8221; utility under &#8216;Other Software&#8217; tab by removing the source line.<\/p>","protected":false},"excerpt":{"rendered":"<p>This simple tutorial shows how to install the latest Firefox Nightly in all current Ubuntu releases! Firefox Nightly is the bleeding edge version of the web browser that updates twice a day. It contains features that are still in developments months or even years before they become mainstream. The Nightly build is more likely to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":44345,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1194],"class_list":["post-44344","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-firefox"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44344","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=44344"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/44344\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/44345"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=44344"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=44344"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=44344"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}