-
Notifications
You must be signed in to change notification settings - Fork 0
/
nvidia-current.sh
21 lines (17 loc) · 996 Bytes
/
nvidia-current.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
set -e
#======================================================================================
#
# Author : Amine Rhattous
# License : Distributed under the terms of GNU GPL version 2 or later
#
#======================================================================================
echo "this script for [NVCx and newer=Current GeForce/Quadro/Tesla] drivers"
echo " Rpm setup"
sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
echo " Nvidia setup"
sudo dnf install -y xorg-x11-drv-nvidia akmod-nvidia "kernel-devel-uname-r == $(uname -r)"
sudo dnf update -y
echo "################################################################"
echo "################### Nvidia installed ######################"
echo "################################################################"