inttf NVIDIA 340.xx, 390.xx Patcher for Kernel 6.2/5.19/5.14/5.13 [BASH Script]
Table of Contents
This is a BASH script, which download NVIDIA installer, extract it, patch it and make new patched installer package. This is very quickly tested alpha version so if you have any problems please let me know or if this works as it should you can also let me know. I use here currently ARCH Linux Patches + my own patches. Currently this works with NVIDIA 340.108 / 390.157 / 418.113 / 435.21 drivers and latest 6.2, 5.19, 5.18, 5.17, 5.16, 5.15, 5.14, 5.13, 5.12, 5.11, 5.10 and 5.9 kernels. This should work with any distribution. You just need install wget and patch packages.
Check video version of guide:
Download and Use inttf NVIDIA Patcher BASH Script⌗
1. Change root user⌗
su -
# OR #
sudo -i
2. Install Needed dependencies⌗
## Fedora ##
dnf install wget patch
## Debian / Ubuntu ##
apt install wget patch
## openSUSE ##
zypper install wget patch
————————————————————————–
Then change back to normal user and run following commands as normal user!
3. Create new directory for inttf NVIDIA patcher⌗
This is just a example, you can use any directory for this.
cd ~
mkdir NVIDIA
cd NVIDIA
4. Download / Update inttf NVIDIA patcher⌗
wget -O inttf-nvidia-patcher.sh https://nvidia.if-not-true-then-false.com/patcher/inttf-nvidia-patcher.sh
5. Make inttf NVIDIA patcher executable⌗
chmod +x inttf-nvidia-patcher.sh
6. Download and patch your drivers⌗
Basic usage
./inttf-nvidia-patcher.sh
--- inttf NVIDIA patcher ---
script usage: inttf-nvidia-patcher.sh [-h] [-v 340.108, 390.157, 418.113 or 435.21]
Example: Get and patch NVIDIA 340.108 for kernel 6.2 / 5.19 / 5.18 / 5.17 / 5.16 / 5.15 / 5.14 / 5.13 / 5.12 / 5.11 / 5.10
./inttf-nvidia-patcher.sh -v 340.108
After successful run, you should have following content on your directory:
ls -la
total 205524
drwxrwxr-x. 1 inttf inttf 286 Nov 23 02:34 .
drwx------. 1 inttf inttf 624 Nov 23 01:53 ..
-rwxrwxr-x. 1 inttf inttf 5947 Nov 23 02:08 inttf-nvidia-patcher.sh
drwxrwxr-x. 1 inttf inttf 90 Nov 23 02:32 NVIDIA-340xx
drwxrwxr-x. 1 inttf inttf 3192 Nov 23 02:33 NVIDIA-Linux-x86_64-340.108
-rwxrwxr-x. 1 inttf inttf 126660695 Nov 23 02:34 NVIDIA-Linux-x86_64-340.108-patched-kernel-6.2.run
-rwxrwxr-x. 1 inttf inttf 83780873 Jun 4 19:25 NVIDIA-Linux-x86_64-340.108.run
This case use NVIDIA-Linux-x86_64-340.108-patched-kernel-6.2.run file when you install your drivers.
See Also
- PHP: APC Configuration and Usage Tips and Tricks
- Install NVIDIA CUDA Toolkit 12.1 on Fedora 38/37
- Fedora 20 nVidia Drivers Install / Uninstall / Restore Plymouth
- Fedora 19 nVidia Drivers Install / Uninstall Guide
- Fedora 18 nVidia Drivers Install / Uninstall Guide
- Fedora 17 nVidia Drivers Install Guide (disable nouveau driver)
- Fedora 16 nVidia Drivers Install Guide (disable nouveau driver)
- Fedora 15 nVidia Drivers Install Guide (disable nouveau driver)
- Fedora 14 nVidia Drivers Install Guide (disable nouveau driver)
- Fedora 13 nVidia Drivers Install Guide (disable the nouveau driver)
- Fedora 33 NetInstall / Server Installation Guide / Install any Fedora Spin
- Fedora 33 Workstation Installation Guide / Tour / Review
- Fedora 32 Desktop Install Guide
- Create Windows 10 Install Media (USB flash drive) on Linux