mirror of
https://github.com/ManInDark/bootc-image.git
synced 2026-01-20 22:44:28 +01:00
FEAT: add NVIDIA drivers
This commit is contained in:
@@ -16,4 +16,15 @@ systemctl disable sshd.service
|
||||
curl -fsSLo /etc/yum.repos.d/vscode.repo https://packages.microsoft.com/yumrepos/vscode/config.repo
|
||||
rpm-ostree install code
|
||||
rm /etc/yum.repos.d/vscode.repo
|
||||
|
||||
# https://rpmfusion.org/Howto/NVIDIA
|
||||
# https://www.tecmint.com/install-nvidia-drivers-in-linux
|
||||
|
||||
dnf5 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
|
||||
dnf5 install -y kernel-devel kernel-headers gcc make dkms acpid libglvnd-glx libglvnd-opengl libglvnd-devel pkgconfig \
|
||||
akmod-nvidia xorg-x11-drv-nvidia-cuda \
|
||||
libva-utils vdpauinfo
|
||||
dnf5 remove -y rpmfusion-free-release rpmfusion-nonfree-release
|
||||
|
||||
dnf5 clean all
|
||||
|
||||
Reference in New Issue
Block a user