{"id":1438,"date":"2021-12-16T12:05:08","date_gmt":"2021-12-16T09:05:08","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/07\/16\/how-to-install-gnome-40-on-debian-11\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/07\/16\/how-to-install-gnome-40-on-debian-11\/"},"modified":"2021-12-16T12:05:08","modified_gmt":"2021-12-16T09:05:08","slug":"how-to-install-gnome-40-on-debian-11","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1438-how-to-install-gnome-40-on-debian-11\/","title":{"rendered":"How to install Gnome 40 on Debian 11"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>If you\u2019d like to use the latest version of the Gnome Shell desktop on Debian 11, you can, thanks to the \u201cDebian Experimental\u201d software repository. In this guide, we\u2019ll walk you through all the steps to try out this new desktop.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-405743 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11.png\" alt=\"Gnome 40 on Debian 11\" width=\"1201\" height=\"339\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11.png 1201w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-3.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-4.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-5.png 768w\" sizes=\"(max-width: 1201px) 100vw, 1201px\"\/><\/p>\n<h2>Upgrading to Debian 11<\/h2>\n<p>Before installing Gnome 40 on Debian, you must ensure that your system is upgraded from Debian 10 stable to Debian 11 testing. The reason you\u2019ll need to update is that the packages on Debian 10 are out of date and won\u2019t work with the Gnome 40 packages.<\/p>\n<p>To start the upgrade, open up a terminal window on the desktop. You can open up a terminal window on the desktop by pressing\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard. Or by searching for \u201cterminal\u201d in the app menu.<\/p>\n<p>With the terminal window open and ready to use, make your terminal window a root shell by entering the <strong>su\u00a0<\/strong>command. You need root to modify sources in your <code>sources.list<\/code> file.<\/p>\n<pre>\nsu -\n<\/pre>\n<p>Open up the list file in Nano, and ensure that your sources file looks identical to the example below. As Debian 11 doesn\u2019t have the same software sources setups as Debian 10, this is critical, as 11 is testing.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-405739 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-1.png\" alt=\"\" width=\"1201\" height=\"192\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-1.png 1201w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-6.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-7.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-8.png 768w\" sizes=\"(max-width: 1201px) 100vw, 1201px\"\/><\/p>\n<p><code>deb http:\/\/ftp.us.debian.org\/debian\/ bullseye main non-free contrib<br \/>deb-src http:\/\/ftp.us.debian.org\/debian\/ bullseye main non-free contrib<\/code><\/p>\n<p><code>deb http:\/\/deb.debian.org\/debian bullseye-updates main non-free contrib<\/code><br \/><code>deb-src http:\/\/deb.debian.org\/debian bullseye-updates main non-free contrib<\/code><\/p>\n<p>With your software sources up to date, save Nano using the\u00a0<strong>Ctrl + O\u00a0<\/strong>keyboard combination. After that, exit the editor using the\u00a0<strong>Ctrl + X\u00a0<\/strong>keyboard combination.<\/p>\n<p>Once you\u2019ve exited the text editor, you\u2019ll need to run the\u00a0<strong>update\u00a0<\/strong>command to refresh Debian with the new software sources you\u2019ve just added.\u00a0<\/p>\n<pre>\nsudo apt update\n<\/pre>\n<p>Next, you\u2019ll need to install all of the new software upgrades available for Debian 11. To do that, execute the following <strong>upgrade\u00a0<\/strong>command down below.<\/p>\n<pre>\nsudo apt upgrade -y\n<\/pre>\n<p>Finally, you will need to run the\u00a0<strong>dist-upgrade\u00a0<\/strong>command. This command is required to install any held-back software upgrades that won\u2019t be installed with the\u00a0<strong>upgrade\u00a0<\/strong>command.<\/p>\n<pre>\nsudo apt dist-upgrade -y\n<\/pre>\n<p>When all upgrades are installed, reboot Debian. You\u2019ll have to reboot to load in the newly installed Debian 11 kernel, as well as the new software patches and upgrades.<\/p>\n<pre>\nsudo reboot\n<\/pre>\n<h2>Enabling Experimental support<\/h2>\n<p>Now that your Debian installation is upgraded to Debian 11, you\u2019ll have to add Debian Experimental support. See, as of now, the only way to access Gnome 40 packages on Debian is through the Debian Experimental repo.\u00a0<\/p>\n<p>Keep in mind; this software repository is not as stable as other Debian software repositories. Thankfully, the Gnome 40 packages seem to work pretty well, so there\u2019s not a whole lot to worry about.<\/p>\n<p>To add the repo, open up a terminal window. Then, access the root account to gain a root shell by executing the\u00a0<strong>su<\/strong> command.\u00a0<\/p>\n<pre>\nsu -\n<\/pre>\n<p>Next, open up the sources file inside Nano once again, and paste the following two lines of code to the bottom of the file.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-405740 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-2.png\" alt=\"\" width=\"1200\" height=\"387\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-2.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-9.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-10.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-gnome-40-on-debian-11-11.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p><code>## Experimental for Gnome 40 ##<br \/>deb http:\/\/deb.debian.org\/debian experimental main<\/code><\/p>\n<p>Then, press the\u00a0<strong>Ctrl + O\u00a0<\/strong>button to save the edits to the file. Then, press\u00a0<strong>Ctrl + X\u00a0<\/strong>to exit the Nano text editor. Once outside of the text editor, use the\u00a0<strong>update\u00a0<\/strong>command to refresh Debian\u2019s software sources.<\/p>\n<pre>\nsudo apt update\n<\/pre>\n<p>When the Debian system is up to date, it\u2019ll be ready to install the Gnome 40 packages.\u00a0<\/p>\n<h2>Installing the Gnome 40 packages in Debian\u00a0<\/h2>\n<p>Now that the Experimental software repository is enabled and ready to go, the installation of Gnome 40 can begin. To start, open up a terminal window and use the\u00a0<strong>apt install\u00a0<\/strong>command to install the Gnome 40 packages onto your system.\u00a0<\/p>\n<p>The way to install the Gnome 40 packages is to use the\u00a0<strong>-t\u00a0<\/strong>command line switch. This switch will allow you to specify the Debian Experimental repository, where the Gnome 40 packages.<\/p>\n<pre> sudo apt -t experimental install gnome-shell gnome-backgrounds gnome-applets gnome-control-center mutter gjs\n<\/pre>\n<p>These packages will pull in a ton of different packages, but not all of them. The installation will take quite a bit of time to complete, as there\u2019s a lot to do. So sit back and allow the packages to install.<\/p>\n<p>When the Gnome 40 packages are just about installed, you\u2019ll see a screen appear in the terminal. This terminal will ask you what desktop manager you wish to use. Select \u201cGDM\u201d with the arrow keys and press\u00a0<strong>Enter\u00a0<\/strong>to select.<\/p>\n<p>Once you\u2019ve selected what DM to use, Gnome 40 packages will finish up installing. When the process is complete, you\u2019ll have to install the \u201cgnome-session\u201d package. This package is required to log in.<\/p>\n<pre>\nsudo apt -t experimental install gnome-session\n<\/pre>\n<p>Upon installing the Gnome session package, reboot. Upon reaching the Gnome login screen, select Gnome in the sessions and log in. You\u2019ll be using Gnome 40 when you load in.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles If you\u2019d like to use the latest version of the Gnome Shell desktop on Debian 11, you can, thanks to the \u201cDebian Experimental\u201d software repository. In this guide, we\u2019ll walk you through all the steps to try out this new desktop. Upgrading to Debian 11 Before installing Gnome 40 on Debian, you must &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1439,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1438"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1438"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1438\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1439"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}