Install NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10 / Debian 11 / Linux Mint 20.3

This is guide, howto install NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10, 21.04, 20.04.3 LTS, 18.04.6 LTS / Debian 11, 10, Sid / Linux Mint 20.3, 20.2, 20.1. I assume here that you have installed NVIDIA drivers successfully using my earlier Install NVIDIA 495.xx Drivers on Debian / Ubuntu / Linux Mint Guide. You will need NVIDIA 495.xx drivers. As always remember backup important files before doing anything! Check video version of guide, Howto Install NVIDIA CUDA Toolkit 12.
Read more →

Uninstall NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10 / Debian 11 / Linux Mint 20.3

  1. Uninstall NVIDIA CUDA Toolkit 12.1 on Ubuntu 21.10 / Debian 11 / Linux Mint 20.3 2.1 Change root user su - ## OR ## sudo -i 2.2 Run NVIDIA CUDA Uninstall Script /usr/local/cuda/bin/cuda-uninstaller 2.3 Remove /etc/profile.d/cuda.sh rm /etc/profile.d/cuda.sh Then logout/login get NVIDIA CUDA away from PATH and LD_LIBRARY_PATH.
Read more →

Debian / Ubuntu / Linux Mint / LMDE NVIDIA Drivers Uninstall Guide

  1. Debian / Ubuntu / Linux Mint / LMDE Uninstall NVIDIA drivers and Enable Nouveau I assume here that you have used this guide install part to install your NVIDIA drivers. This whole process is good to run on runlevel 3. When there is no X running. So first boot to runlevel 3 using direct parameter (3) on Grub linux/linuxefi line or using “systemctl set-default multi-user.target”. 5.1 Change root user su - ## OR ## sudo -i 5.
Read more →

Debian / Ubuntu / Linux Mint / LMDE NVIDIA Restore / Change / Update Plymouth (BIOS/UEFI Users)

  1. Restore/Change/Update Plymouth After NVIDIA Drivers Installation (BIOS/UEFI Users) Please let me know if it works or if you have some problems. 4.1 Create /etc/modprobe.d/nvidia.conf file Create /etc/modprobe.d/nvidia.conf with content “options nvidia_drm modeset=1” echo "options nvidia_drm modeset=1" >> /etc/modprobe.d/nvidia.conf 4.2 Create /etc/dracut.conf.d/nvidia.conf file Create /etc/dracut.conf.d/nvidia.conf file with following content, note you need white spaces inside add_drivers and install_items: cat << EOF > /etc/dracut.conf.d/nvidia.conf add_drivers+=" nvidia nvidia_modeset nvidia_uvm nvidia_drm " install_items+=" /etc/modprobe.
Read more →

Install NVIDIA [550.54.14 / 545.29.06 / 535.161.07 / 525.147.05 / 470.239.06 / 390.157 / 340.108] Drivers on Debian / Ubuntu / Linux Mint / LMDE

This is guide, howto install NVIDIA proprietary drivers (manually using .run files) on Debian Sid / 12 / 11 / 10, Ubuntu 23.10 / 22.04, Linux Mint 21.3 / 21.2 / 21.1 / 21 / 20.3 / 20.2 / 20.1, LMDE 4 and disable Nouveau driver. This guide works with GeForce 8/9/200/300/400/500/600/700/800/900/10/20/30 series cards. This is alternative way to install NVIDIA drivers, because Debian based Linux distros have NVIDIA drivers directly from repos too.
Read more →

NVIDIA 550.54.14 / 545.29.06 / 535.161.07 / 525.147.05 / 470.239.06 + Xwayland on Debian / Ubuntu 23.10 / 22.04 and Gnome 45/44/43/42, Linux Mint 21.3 Cinnamon 6.0.1

  1. Enable Xwayland with NVIDIA 550.54.14 / 545.29.06 / 535.161.07 / 525.147.05 / 470.239.06 proprietary drivers on Debian / Ubuntu / Linux Mint This is guide, howto enable NVIDIA accelerated 3D rendering and Xwayland on Ubuntu 22.04 with NVIDIA 550.xx (550.40.07) / 545.xx (545.29.06) / 535.xx (535.154.05) / 525.xx (525.147.05) / 470.xx (470.223.02) proprietary drivers on GNOME 42/41/40. Tested with latest NVIDIA drivers, I assume here that you have installed NVIDIA drivers using this guide.
Read more →

PHP: APC Configuration and Usage Tips and Tricks

PHP APC (Alternative PHP Cache / Opcode Cache) is framework that optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory. APC Opcode Cache is quickly becoming the de-facto standard PHP caching mechanism. (adsbygoogle = window.adsbygoogle || []).push({});PHP APC installation is very easy, example with Fedora / CentOS / Red Hat (RHEL) you can check following guides to see howto install it:
Read more →
Subscribe and follow: