To install the GNOME desktop environment on Ubuntu, you can use the ubuntu-gnome-desktop
package. First, update your package lists using sudo apt update
, then install GNOME with sudo apt install ubuntu-gnome-desktop
. After installation, you may need to configure the display manager (e.g., GDM3) to use GNOME as the default session.
Here’s a more detailed breakdown:
- Update your package lists:
Code
sudo apt update
This ensures you’re working with the latest package information.
- Install GNOME:
Code
sudo apt install ubuntu-gnome-desktop
This command installs the ubuntu-gnome-desktop
package, which provides a complete GNOME desktop experience, including applications like Firefox, LibreOffice, and more, according to wikiHow.
- (Optional) Install GNOME Tweaks:
Code
sudo apt install gnome-tweaks
GNOME Tweaks allows you to further customize your GNOME desktop environment.
- (Optional) Configure the display manager:
If you want GNOME to be the default login environment, you may need to configure the display manager. For example, if you’re using GDM3, you can run:
Code
sudo dpkg-reconfigure gdm3
Select “GNOME” as the default session in the configuration menu.
- Log out and log back in:
Log out of your current session and, at the login screen, select “Ubuntu” or “GNOME” from the session options (usually accessible via a gear icon) to start your new GNOME session.