Install AlmaLinux 9
- Connect to WiFi. (Not required, but allows for latest bug fixes, etc. Dismiss the kwallet notification)
- Click on Install to Hard Drive.
- Select Keyboard Layout to continue.
- Set Time & Date.
- Disable KDUMP.
- Select Network & Hostname to give your computer a name.
- Leave Root Password disabled.
- Choose Installation Destination.
- Select Target SSD/NVMe/HDD drive.
- Be sure you only see ONE CHECKMARK on your desired drive. You can accidentally check more than one drive by clicking on another. You can deselect a drive by clicking on it again.
- Encrypting your drive is recommended but not required. (This adds a step at boot to unlock your drive with a passphrase).
- Reclaim Drive space
- Select top of drive hierarchy.
- Select Delete All.
- Select Reclaim Space.
- Select Target SSD/NVMe/HDD drive.
- User Creation
- Add name and username.
- Make Administrator.
- Set a strong password.
- Begin Installation
- Once its finished, exit and reboot.
Initial Start
Accept EULA, Set KDE to X11 and Log In
- On first reboot, accept the EULA and select Finish Configuration.
- On the login screen, BEFORE signing in:
- Select KDE X11 desktop in the bottom left corner.
- Login
- Click through the Welcome dialogue, and then close it.
Update System
sudo dnf upgrade
Install Third Party Repositories
- Install RPM Fusion Repo. See RHEL section on their website for more. https://rpmfusion.org/Configuration
sudo dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpmsudo dnf install -y --nogpgcheck https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm
- Enable RPM Fusion Repo
dnf repolist enabled - Update package manager with
sudo dnf update - Install Flatpak https://flatpak.org/setup/Fedora (DON’T SKIP, you will need this for Blender on AlmaLinux 9)!
sudo dnf install flatpak- Then follow directions from flatpak to install flathub repo https://flathub.org/en/setup/AlmaLinux
- Reboot system
reboot
Install NVIDIA Drivers
See https://wiki.almalinux.org/documentation/nvidia.html for more details.
sudo dnf install almalinux-release-nvidia-driversudo dnf install nvidia-opensudo dnf install nvidia-driver-cudareboot- Check if it was successful with
nvidia-smi
Failure to install NVIDIA drivers or Buggy Drivers
Occasionally, this method can fail around the time of AlmaLinux updates (e.g. v9.7 -> v9.8). In this case, you might have better luck installing the RPM NVIDIA packages until it is patched by AlmaLinux. (I frequently use the RPM Fusion NVIDIA drivers instead if I encounter any issues with the AlmaLinux NVIDIA version).
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cudareboot- Check success with
nvidia-smiTechnically, you can still install them anyways by adding
--nobestto the end of the command. This should eliminate the issue for you, but may not install the latest drivers and have a few bugs. 4.sudo dnf install nvidia-open --nobest5.sudo dnf install nvidia-driver-cuda --nobest
Install Multimedia Drivers
See https://rpmfusion.org/Howto/Multimedia?highlight=%28%5CbCategoryHowto%5Cb%29 for more in depth instructions.
sudo dnf swap ffmpeg-free ffmpeg --allowerasingsudo dnf update @multimedia --setopt="install_weak_deps=False" --exclude=PackageKit-gstreamer-pluginsudo dnf install intel-media-driver(Replace with AMD if you have AMD hardware).sudo dnf install libva-nvidia-driver(Replace with AMD if you have AMD hardware).