Rocky Linux Desktop

How to install multiple Desktop Environments on Rocky Linux 9*

MATE

Copy and paste the following lines 'as they are' into your Shell and provide sudo password

#1
sudo dnf -y update --skip-broken --allowerasing; sudo dnf config-manager --set-enabled crb; sudo dnf -y install epel-release;
#2
sudo dnf -y install NetworkManager-adsl NetworkManager-bluetooth NetworkManager-libreswan-gnome NetworkManager-openvpn-gnome; sudo dnf -y install NetworkManager-ovs NetworkManager-ppp NetworkManager-team NetworkManager-wifi NetworkManager-wwan; sudo dnf -y install abrt-desktop abrt-java-connector adwaita-gtk2-theme alsa-plugins-pulseaudio atril atril-caja; sudo dnf -y install atril-thumbnailer caja caja-actions caja-image-converter caja-open-terminal caja-sendto caja-wallpaper; sudo dnf -y install caja-xattr-tags dconf-editor engrampa eom firewall-config gnome-disk-utility gnome-epub-thumbnailer; sudo dnf -y install gstreamer1-plugins-ugly-free gtk2-engines gucharmap gvfs-afc gvfs-afp gvfs-archive gvfs-fuse gvfs-gphoto2; sudo dnf -y install gvfs-mtp gvfs-smb initial-setup-gui libmatekbd libmatemixer libmateweather libsecret lm_sensors marco; sudo dnf -y install mate-applets mate-backgrounds mate-calc mate-control-center mate-desktop mate-dictionary; sudo dnf -y install mate-disk-usage-analyzer mate-icon-theme mate-media mate-menus mate-menus-preferences-category-menu; sudo dnf -y install mate-notification-daemon mate-panel mate-polkit mate-power-manager mate-screensaver;
#2A (If any of the commands from #2 fails, run the following command)
sudo dnf -y install mate*;
#3
sudo systemctl set-default graphical.target; sudo dnf -y install lightdm-settings lightdm;
#4
dnf -y groupinstall "System Tools" "Graphical Administration Tools" "Fedora Packager" "Workstation"; dnf -y groupinstall "Security Tools" "Legacy UNIX Compatibility" "Custom Operating System";
#4A (if above says 'conflict with perl-PAR...' )
dnf -y remove perl-PAR-P*; dnf -y groupinstall "System Tools" "Graphical Administration Tools" "Fedora Packager" "Workstation"; dnf -y groupinstall "Security Tools" "Legacy UNIX Compatibility" "Custom Operating System";

After the successful run of the above commands, reboot and select MATE Desktop!

  1. Select your username from the list
  2. On the bottom right corner, click the gear icon and select MATE as your desktop
  3. Enter password and hit enter on your KB or click the arrow button on the screen

Enjoy your new MATE desktop experience on Rocky Linux 9*

KDE

Commands

#1
dnf -y groupinstall "KDE Plasma Workspaces";