#fedora #nvidia #linux #drivers #rpm-fusion

installing nvidia drivers on fedora is super easy and i can prove it

Miuna

ur there happy with ur fresh fedora install, then u open the terminal and type nvidia-smi to check ur gpu... and...

bash: nvidia-smi: command not found...

aaaaaah! ヽ(;´Д`)ノ such despair!

calm down, calm down! this just means ur using the nouveau driver (the basic one that comes with linux), not the official (proprietary) nvidia driver that makes ur games and apps run smooth!

"but isnt there an app to click and install?"

on fedora, the most recommended way is using the terminal with rpm fusion. sounds hard, but its super easy!

1. adding rpm fusion

first, we need to tell fedora where to find the drivers. rpm fusion is the safe place for this. install the free and nonfree repos:

https://rpmfusion.org/

2. updating

after adding, lets do an update to make sure the system reads the new packages:

sudo dnf update -y

3. installing the driver!

now yes! this command installs the akmod driver, which is smart and "rebuilds" itself every time ur kernel updates (so it never breaks! i think!):

sudo dnf install akmod-nvidia

if u game or use apps that need cuda, install this too:

sudo dnf install xorg-x11-drv-nvidia-cuda

4. THE MOST IMPORTANT STEP: WAIT!

WARNING

i know u wanna reboot ur pc right away, but DONT REBOOT YET!

the akmod is working right now, building the driver. this takes about 2 to 5 minutes.

5. reboot and the moment of truth!

ok, waited 5 minutes? now yes!

reboot from the terminal.

when ur pc boots up, open the terminal and... try the command again:

nvidia-smi

if everything went right, ull see a beautiful screen like this:

nvidia-smi command output in terminal

ler em português →