Trying to run applications as root

I need help installing and updating my nvidia rtx 3070 gpu drivers. can someone help me. i downloaded the driver from nvidia site but when i ran the program it said i had to run it as root. cannot find any answers on how to do this can someone help me

Hi and welcome to :fedora:

For installing the nvidia drivers I would recommend using rpmfusion vice the nvidia site.
There is a guide here

As long as your user is part of the wheel group you can run commands as root by doing
sudo command in a terminal.

You can check to see what groups you are in by using the following command.
groups

additional information here, Performing administration tasks using sudo :: Fedora Docs

2 Likes

i am apart of the wheel group and that link you sent me im having a hard time understanding what i have to do and identifying what is my card which is the 30 series. also its saying to disable secure boot which the last time i did that i couldn’t get back into the bios which i had to reset the cmos

Are you having issues with the output of lscpi? or something else.

also its saying to disable secure boot which the last time i did that i couldn’t get back into the bios which i had to reset the cmos

Don’t do anything you’re not comfortable with.

1 Like

You can keep Secure Boot enabled, it just requires a few more steps to complete the setup.

2 Likes

From your OP, you have an rtx 3070. So you should use current drivers. Paste this into a terminal window:

sudo dnf update -y
sudo dnf install akmod-nvidia
sudo dnf install xorg-x11-drv-nvidia-cuda

Please remember to wait after the RPM transaction ends, until the kmod get built. This can take up to 5 minutes on some systems.

I advice against using the drivers from NVIDIA’s own website. Using the distribution’s packages ensures timely and functional updates

1 Like

I agree 100% with the above, but would also note that you need to enable the 3rd party repos in the gnome software app before doing the install steps noted (unless already done). The packages noted come from the rpmfusion repo and not from the fedora repo.