π This project provides a complete automated installer script for NVIDIA GeForce RTX 5090 GPUs on Ubuntu Linux. It handles kernel updates, GCC configuration, and silent NVIDIA driver installation β all in a single click.
- GPU: NVIDIA GeForce RTX 5090 (Blackwell)
- OS: Ubuntu 22.04 or later (64-bit)
- Kernel: Linux 6.13 or later (auto-installed)
- Compiler: GCC 14 (auto-installed)
| File Name | Description |
|---|---|
install_rtx5090_full.sh |
Auto-installs kernel, GCC, and NVIDIA driver |
rtx5090_driver_install_steps.txt |
Manual step-by-step version of installation |
- Installs Linux kernel
6.13usingmainline - Installs and configures
GCC 14 - Downloads and installs the official NVIDIA driver (e.g.
575.64) - Automatically reboots at proper points
- No interactive prompts (silent install)
# Step 1: Install Kernel 6.13 and GCC 14
sudo add-apt-repository -y ppa:cappelikan/ppa
sudo apt update && sudo apt full-upgrade -y
sudo apt install -y mainline
mainline install 6.13
sudo apt install -y gcc-14
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
sudo update-alternatives --set gcc /usr/bin/gcc-14
gcc --version
# Step 2: Reboot into new kernel
sudo reboot
# Step 3: Stop GUI and remove NVIDIA modules
sudo systemctl isolate multi-user.target
sudo rmmod nvidia_drm || true
sudo rmmod nvidia_uvm || true
sudo rmmod nvidia_modeset || true
sudo rmmod nvidia || true
# Step 4: Download and install NVIDIA driver
wget https://in.download.nvidia.com/XFree86/Linux-x86_64/575.64/NVIDIA-Linux-x86_64-575.64.run
chmod +x NVIDIA-Linux-x86_64-575.64.run
sudo ./NVIDIA-Linux-x86_64-575.64.run \
--silent \
--dkms \
--install-libglvnd \
--no-x-check \
--no-nouveau-check \
--no-opengl-files \
--accept-license \
--run-nvidia-xconfig \
--no-questions
# Step 5: Final reboot
sudo reboot
# Check Driver
nvidia-smiI got inspiration for this setup from this YouTube video:
π Watch: How to Install NVIDIA Driver on Ubuntu for RTX 5090
Big thanks to the original creator for walking through the manual install steps!
