{"id":20021,"date":"2023-07-31T07:56:25","date_gmt":"2023-07-31T07:56:25","guid":{"rendered":"https:\/\/linuxways.net\/?p=20021"},"modified":"2023-07-31T07:56:25","modified_gmt":"2023-07-31T07:56:25","slug":"how-to-install-gnome-on-debian-12","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/debian\/how-to-install-gnome-on-debian-12\/","title":{"rendered":"How to Install Gnome on Debian 12"},"content":{"rendered":"<p>Almost all the major and renowned Linux Distributions come with a Gnome Desktop Environment by default. Even for those who don&#8217;t, we can install this Desktop environment very easily. This Desktop environment is feature-rich and modern and users love it because of its simplicity, ease of use, and performance.<\/p>\n<p>We can install this Desktop Environment in almost all Linux distributions now. In this article, we will be seeing how we can install the Gnome Environment in our Debian 12.<\/p>\n<p>Although Debian 12 comes with Gnome Desktop Environment as pre-installed, it&#8217;s still handy to know that we can install it. In some cases, users install other desktop environments to try out. But in terms of usability, Gnome remains the most usable and productive desktop environment. So we should know how we can install it.<\/p>\n<h2><strong>Update the system<\/strong><\/h2>\n<p>Just like every time, we have to update and upgrade Debian 12 to make sure we have all the packages updated.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt update <span class=\"sy0\">&amp;&amp;<\/span> upgrade<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"565\" class=\"wp-image-20022\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-1.png 771w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-1-300x220.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-1-768x563.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/p>\n<h2><strong>Install Tasksel<\/strong><\/h2>\n<p>After the update of Debian 12, now we are ready to install Tasksel. It&#8217;s a terminal based utility that allows us to install different Desktop Environment.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> tasksel<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"771\" height=\"574\" class=\"wp-image-20023\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-2.png 771w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-2-300x223.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-2-768x572.png 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/p>\n<h2><strong>Download Gnome Packages with Tasksel<\/strong><\/h2>\n<p>After the installation of Tasksel, now we need to download and install packages for the Gnome Desktop Environment.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> tasksel <span class=\"kw2\">install<\/span> desktop gnome-desktop<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"739\" height=\"560\" class=\"wp-image-20024\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-3.png 739w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-3-300x227.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>Now we will launch tasks to download and install Gnome Desktop Environment.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> tasksel<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"744\" height=\"555\" class=\"wp-image-20025\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-4.png 744w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-4-300x224.png 300w\" sizes=\"auto, (max-width: 744px) 100vw, 744px\" \/><\/p>\n<p>After that a new window will pop up. From the window, we need to select Gnome and hit enter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"759\" height=\"567\" class=\"wp-image-20026\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-5.png 759w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-5-300x224.png 300w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/p>\n<p>As we are done with the installation of Gnome here, now we should reboot our Debian 12.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> reboot<\/div><\/div>\n<p>After we are done with the reboot, we need to click on the username. Then we need to click on the settings icon and then click on Gnome.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"790\" height=\"615\" class=\"wp-image-20027\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-6.png 790w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-6-300x234.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-6-768x598.png 768w\" sizes=\"auto, (max-width: 790px) 100vw, 790px\" \/><\/p>\n<p>We are done with the installation of Gnome Desktop Environment.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1150\" height=\"866\" class=\"wp-image-20028\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-7.png 1150w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-7-300x226.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-7-1024x771.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-7-768x578.png 768w\" sizes=\"auto, (max-width: 1150px) 100vw, 1150px\" \/><\/p>\n<h2><strong>Install Gnome from APT Packages<\/strong><\/h2>\n<p>There is another smart and short way that we can also follow. But this only works sometimes.<\/p>\n<p>Use the below mentioned command for that.<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> gnome<span class=\"sy0\">\/<\/span>stable<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"741\" height=\"553\" class=\"wp-image-20029\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-8.png 741w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-8-300x224.png 300w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/p>\n<p>After that again, we need to reboot Debian 12 and again follow the same procedure to select Gnome Desktop Environment.<\/p>\n<h2><strong>Uninstall Gnome From Debian 12<\/strong><\/h2>\n<p>It is always a good practice to use any other desktop environment before removing Gnome Desktop environment. After that, use the command as<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get remove<\/span> gnome-shell gnome-session gnome-control-center<\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"552\" class=\"wp-image-20030\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-9.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-9-300x226.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/strong><\/p>\n<p>After that, run this command as well<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get purge<\/span> gnome<span class=\"sy0\">*<\/span><\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"552\" class=\"wp-image-20031\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-10.png 729w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-10-300x227.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<p>To remove all the remaining packages automatically, we have a command as<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"co4\">$ <\/span><span class=\"kw2\">sudo<\/span> <span class=\"kw2\">apt-get autoremove<\/span><\/div><\/div>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"547\" class=\"wp-image-20032\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-11.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/07\/word-image-20021-11-300x224.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/strong><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Gnome Desktop Environment is one of the Desktop setups that can be installed very easily. Firstly, many Linux distributions use this by default. Secondly, we can configure it as well for those who don&#8217;t have it.<\/p>\n<p>This article explained how we can install it in Debian 12 Bookworm. We just need to execute some simple commands and we are good to go.<\/p>","protected":false},"excerpt":{"rendered":"<p>Gnome Desktop Environment is a default Desktop Environment for major Linux Distributions like Ubuntu, Debian, and Fedora. It can be installed as well. <\/p>","protected":false},"author":110,"featured_media":20041,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-20021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=20021"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/20021\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/20041"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=20021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=20021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=20021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}