Ubuntu ships with a customized version of the GNOME desktop environment by default, offering a polished and user-friendly experience right out of the box. Even so, there are several scenarios where you might need to install GNOME manually: perhaps you installed Ubuntu Server or a minimal flavor like Xubuntu or Kubuntu and want to switch, or you are looking for the vanilla upstream GNOME experience without Ubuntu’s specific extensions and patches. Whatever the reason, the process is straightforward thanks to the apt package manager and the tasksel utility. This guide walks you through the various methods to get GNOME running on your Ubuntu system, covering the standard Ubuntu flavor, the minimal installation, and the pure upstream version.
Prerequisites and Preparation
Before diving into the installation commands, ensure your system is ready. You will need a user account with sudo privileges and an active internet connection to download the necessary packages. It is highly recommended to update your local package index and upgrade existing packages first to avoid dependency conflicts during the desktop environment installation Worth keeping that in mind. No workaround needed..
You'll probably want to bookmark this section It's one of those things that adds up..
Open your terminal and run the following commands:
sudo apt update && sudo apt upgrade -y
Depending on the number of updates, this process may take a few minutes. Once completed, reboot your system if a kernel upgrade was applied to ensure you are running on the latest kernel before adding the graphical stack.
Method 1: Installing the Default Ubuntu GNOME Desktop (Recommended)
For most users, the best option is the ubuntu-desktop meta-package. This pulls in the GNOME Shell along with Ubuntu’s specific customizations, including the Yaru theme, the Ubuntu Dock (a fork of Dash to Dock), specific font rendering settings, and a curated set of default applications like Firefox (Snap), LibreOffice, Thunderbird, and the GNOME Software center. This ensures the highest level of hardware compatibility and integration with Ubuntu’s underlying services like snapd and fwupd Turns out it matters..
To install it, execute:
sudo apt install ubuntu-desktop
You will be prompted to confirm the installation and shown the disk space required (usually between 1.5 GB to 2.That's why 5 GB depending on what is already installed). Which means during the installation, gdm3 (GNOME Display Manager) will be configured as the default display manager. Practically speaking, if you are currently using a different display manager (like LightDM or SDDM), a configuration screen will appear asking you to choose the default. Select gdm3 using the Tab key and press Enter Simple, but easy to overlook. Turns out it matters..
Once the packages are downloaded and configured, reboot your system:
sudo reboot
Upon restart, you will be greeted by the Ubuntu login screen. Click your user, enter your password, and you will enter the standard Ubuntu GNOME environment Small thing, real impact..
Method 2: Installing Vanilla GNOME (Upstream Experience)
If you prefer a pure, unmodified GNOME experience—exactly as the GNOME Project intended, without the Ubuntu Dock, Yaru theme, or specific Ubuntu patches—you should install the vanilla-gnome-desktop package. This provides the standard GNOME Shell with the upstream Adwaita theme, the default application menu (no dock by default), and standard GNOME applications like GNOME Text Editor, Console, and Files (Nautilus) without Ubuntu-specific modifications And that's really what it comes down to..
Run the following command:
sudo apt install vanilla-gnome-desktop
Similar to the previous method, you will be asked to select a display manager. Choose gdm3 for the best compatibility with GNOME Shell features like Wayland sessions and automatic login handling.
Note on Vanilla GNOME on Ubuntu: While this gives you the "pure" look, you may lose some hardware integration conveniences Ubuntu provides, such as easy proprietary driver installation via the "Software & Updates" GUI or specific power management tweaks. You will also need to install extensions manually via the website or the Extension Manager app to regain functionality like a persistent dock or system monitoring in the top bar.
Method 3: Installing a Minimal GNOME Core
For users with limited disk space, older hardware, or those who want to build a completely custom environment from the ground up, the gnome-core package is the ideal choice. This meta-package installs only the absolute essentials: the GNOME Shell, Settings, Terminal, Files (Nautilus), and the core system libraries. It excludes productivity apps (LibreOffice), media players, games, and even some utilities like the calculator or calendar.
Install it with:
sudo apt install gnome-core
This results in a significantly smaller footprint (often under 1 GB of new data). g.You can then selectively install only the applications you need via apt or Flatpak (e., sudo apt install gnome-text-editor gnome-console firefox). Also, after installation, you have a bare-bones GNOME Shell. This method is popular among developers and power users who prefer a lean system Turns out it matters..
Method 4: Using Tasksel for Installation
Ubuntu includes a tool called tasksel (Task Select) which provides a menu-driven interface for installing predefined software collections, including desktop environments. If you prefer a visual menu inside the terminal over typing specific package names, this is a great alternative.
First, ensure it is installed (it usually is by default on Server editions):
sudo apt install tasksel
Launch it with sudo privileges:
sudo tasksel
A text-based interface will appear. So use the arrow keys to figure out the list. Look for Ubuntu desktop (for the default flavor), Vanilla GNOME desktop, or GNOME (minimal core). But press Space to select your desired option (an asterisk * will appear), then press Tab to highlight <Ok> and press Enter. Tasksel will handle the dependency resolution and installation automatically.
This is where a lot of people lose the thread Easy to understand, harder to ignore..
Post-Installation Configuration and First Steps
After rebooting into your new GNOME environment, there are a few immediate steps to optimize your experience No workaround needed..
1. System Updates and Firmware
Open Software Updater from the application grid or run sudo apt update && sudo apt upgrade in the terminal. Additionally, open Software (the bag icon), go to the Updates tab, and check for Firmware Updates. Applying these updates improves hardware stability, security, and battery life on laptops.
2. Install Multimedia Codecs
Due to licensing restrictions, Ubuntu does not ship with proprietary media codecs (H.264, HEVC, MP3, AAC) by default in some regions or minimal installs. To enable playback for most video and audio formats, install the ubuntu-restricted-extras package:
sudo apt install ubuntu-restricted-extras
Accept the EULA for Microsoft Core Fonts when prompted (use Tab to select OK/Yes).
3. Enable Flatpak and Flathub (Highly Recommended)
While apt provides system libraries, Flatpak is the preferred way to install up-to-date desktop applications (like the latest LibreOffice, GIMP, Discord, Steam, or Bottles) in a sandboxed environment. Ubuntu supports Flatpak out of the box, but you need to add the Flathub repository:
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
You can now install apps via the command line (flatpak install flathub org.libreoffice.LibreOffice) or graphically through the Software center (look for the "Flathub" badge on app listings).
4. Graphics Drivers (NVIDIA
Graphics Drivers (NVIDIA)
If you have an NVIDIA GPU, Ubuntu can install the proprietary drivers automatically. First, check which drivers are available for your hardware:
ubuntu-drivers devices
To install the recommended driver, run:
sudo ubuntu-drivers autoinstall
Alternatively, open Software & Updates, deal with to the Additional Drivers tab, select the proprietary NVIDIA driver marked as "tested," and click Apply Changes. Reboot your system after installation. If you plan to use Wayland, note that NVIDIA driver version 555 and newer include explicit sync support for a smoother experience; older versions may behave more reliably under the X11 display server Nothing fancy..
5. GNOME Tweaks and Extensions
GNOME’s default interface is intentionally minimal. To personalize your desktop, install GNOME Tweaks:
sudo apt install gnome-tweaks
This tool lets you adjust window button placement, font scaling, desktop icons, and behavior of the power button. For even more customization, install the Extensions application from Flatpak or Snap, then browse extensions such as Dash to Dock, Blur my Shell, or AppIndicator Support. Many extensions require the GNOME Shell integration connector for your web browser, which you can install via apt or your browser’s extension store That's the whole idea..
6. Power Management
On laptops, Ubuntu typically runs power-profiles-daemon by default. You can switch between Performance, Balanced, and Power Saver modes directly from the system menu in the top-right corner. If you want finer control, consider installing TLP:
sudo apt install tlp
sudo tlp start
TLP optimizes CPU frequency scaling, disk spin-down, and USB power saving in the background, which can extend battery life without requiring manual configuration.
Conclusion
You now have a fully functional GNOME desktop environment running on Ubuntu, whether you started from a minimal server installation or a base system without a graphical interface. Day to day, by using tasksel or apt, installing essential codecs, enabling Flatpak, configuring graphics drivers, and applying post-installation tweaks, your system is ready for daily productivity, multimedia playback, and software development. Keep your system updated regularly, explore the GNOME extension ecosystem, and enjoy your new Linux desktop.