How To Install ubuntu-desktop on Ubuntu 20.04
Introduction
In this tutorial we learn how to install ubuntu-desktop
on Ubuntu 20.04.
What is ubuntu-desktop
ubuntu-desktop is:
This package depends on all of the packages in the Ubuntu desktop system
It is also used to help ensure proper upgrades, so it is recommended that it not be removed. Task: ubuntu-desktop
Package: ubuntu-desktop Architecture: amd64 Version: 1.450 Priority: optional Section: metapackages Source: ubuntu-meta Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 51 Provides: packagekit-installer Depends: alsa-base, alsa-utils, anacron, at-spi2-core, bc, ca-certificates, dmz-cursor-theme, fonts-dejavu-core, fonts-freefont-ttf, foomatic-db-compressed-ppds, gdm3, genisoimage, ghostscript-x, gnome-control-center, gnome-menus, gnome-session-canberra, gnome-settings-daemon, gnome-shell, gnome-shell-extension-appindicator, gnome-shell-extension-desktop-icons, gnome-shell-extension-ubuntu-dock, gstreamer1.0-alsa, gstreamer1.0-packagekit, gstreamer1.0-plugins-base-apps, gstreamer1.0-pulseaudio, gvfs-bin, inputattach, language-selector-gnome, libatk-adaptor, libnotify-bin, libsasl2-modules, libu2f-udev, nautilus, openprinting-ppds, printer-driver-pnm2ppa, pulseaudio, rfkill, software-properties-gtk, spice-vdagent, ubuntu-desktop-minimal, ubuntu-drivers-common, ubuntu-release-upgrader-gtk, ubuntu-session, ubuntu-settings, unzip, update-manager, update-notifier, wireless-tools, wpasupplicant, xdg-user-dirs, xdg-user-dirs-gtk, xkb-data, xorg, yelp, zenity, zip Recommends: acpi-support, aisleriot, app-install-data-partner, apport-gtk, appstream, avahi-autoipd, avahi-daemon, baobab, bluez, bluez-cups, branding-ubuntu, brltty, cheese, cups, cups-bsd, cups-client, cups-filters, deja-dup, dirmngr, eog, evince, file-roller, firefox, fonts-indic, fonts-kacst-one, fonts-khmeros-core, fonts-lao, fonts-liberation, fonts-liberation2, fonts-lklug-sinhala, fonts-noto-cjk, fonts-noto-color-emoji, fonts-opensymbol, fonts-sil-abyssinica, fonts-sil-padauk, fonts-thai-tlwg, fonts-tibetan-machine, fonts-ubuntu, fwupd, fwupd-signed, gamemode, gedit, gir1.2-gmenu-3.0, gnome-accessibility-themes, gnome-bluetooth, gnome-calculator, gnome-calendar, gnome-characters, gnome-disk-utility, gnome-font-viewer, gnome-getting-started-docs, gnome-initial-setup, gnome-keyring, gnome-logs, gnome-mahjongg, gnome-mines, gnome-power-manager, gnome-screenshot, gnome-sudoku, gnome-system-monitor, gnome-terminal, gnome-todo, gpg-agent, gsettings-ubuntu-schemas, gvfs-fuse, hplip, ibus, ibus-gtk, ibus-gtk3, ibus-table, im-config, kerneloops, laptop-detect, libnss-mdns, libpam-gnome-keyring, libproxy1-plugin-gsettings, libproxy1-plugin-networkmanager, libreoffice-calc, libreoffice-gnome, libreoffice-impress, libreoffice-math, libreoffice-ogltrans, libreoffice-pdfimport, libreoffice-style-breeze, libreoffice-writer, libwmf0.2-7-gtk, memtest86+, mousetweaks, nautilus-sendto, nautilus-share, network-manager, network-manager-config-connectivity-ubuntu, network-manager-openvpn-gnome, network-manager-pptp-gnome, orca, packagekit, pcmciautils, plymouth-theme-spinner, policykit-desktop-privileges, printer-driver-brlaser, printer-driver-c2esp, printer-driver-foo2zjs, printer-driver-m2300w, printer-driver-min12xxw, printer-driver-ptouch, printer-driver-pxljr, printer-driver-sag-gdi, printer-driver-splix, pulseaudio-module-bluetooth, remmina, rhythmbox, seahorse, shotwell, simple-scan, snapd, speech-dispatcher, system-config-printer, thunderbird, thunderbird-gnome-support, totem, transmission-gtk, ubuntu-docs, ubuntu-report, ubuntu-wallpapers, usb-creator-gtk, vino, whoopsie, xcursor-themes, xdg-desktop-portal-gtk, xdg-utils, xul-ext-ubufox, yaru-theme-gnome-shell, yaru-theme-gtk, yaru-theme-icon, yaru-theme-sound Filename: pool/main/u/ubuntu-meta/ubuntu-desktop_1.450_amd64.deb Size: 2832 MD5sum: e30a8ea203e299ef17f572c617c8b6c0 SHA1: 3d8f60c6cbfd760e74425e3c1d1944677414bb9e SHA256: 2f191633e5f28572f19f2d0c41efcc336a6ae1071dc5f31246d3c0ae0dcefb5a Description-en: The Ubuntu desktop system This package depends on all of the packages in the Ubuntu desktop system
It is also used to help ensure proper upgrades, so it is recommended that it not be removed. Task: ubuntu-desktop
There are three methods to install ubuntu-desktop
on Ubuntu 20.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install ubuntu-desktop Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install ubuntu-desktop
using apt-get
by running the following command:
sudo apt-get -y install ubuntu-desktop
Install ubuntu-desktop Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install ubuntu-desktop
using apt
by running the following command:
sudo apt -y install ubuntu-desktop
Install ubuntu-desktop Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install ubuntu-desktop
using aptitude
by running the following command:
sudo aptitude -y install ubuntu-desktop
How To Uninstall ubuntu-desktop on Ubuntu 20.04
To uninstall only the ubuntu-desktop
package we can use the following command:
sudo apt-get remove ubuntu-desktop
Uninstall ubuntu-desktop And Its Dependencies
To uninstall ubuntu-desktop
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove ubuntu-desktop
Remove ubuntu-desktop Configurations and Data
To remove ubuntu-desktop
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge ubuntu-desktop
Remove ubuntu-desktop configuration, data, and all of its dependencies
We can use the following command to remove ubuntu-desktop
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ubuntu-desktop
References
Summary
In this tutorial we learn how to install ubuntu-desktop
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.