How To Install gdm on AlmaLinux 8
Introduction
In this tutorial we learn how to install gdm
on AlmaLinux 8.
What is gdm
GDM, the GNOME Display Manager, handles authentication-related backend functionality for logging in a user and unlocking the user’s session after it’s been locked. GDM also provides functionality for initiating user-switching, so more than one user can be logged in at the same time. It handles graphical session registration with the system for both local and remote sessions (in the latter case, via the XDMCP protocol). In cases where the session doesn’t provide it’s own display server, GDM can start the display server on behalf of the session.
We can use yum
or dnf
to install gdm
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install gdm.
Install gdm on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install gdm
using dnf
by running the following command:
sudo dnf -y install gdm
Install gdm on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install gdm
using yum
by running the following command:
sudo yum -y install gdm
How To Uninstall gdm on AlmaLinux 8
To uninstall only the gdm
package we can use the following command:
sudo dnf remove gdm
References
Summary
In this tutorial we learn how to install gdm
on AlmaLinux 8 using yum and dnf.