### Install NVIDIA Driver Source: https://xanmod.org/ Installs the NVIDIA proprietary driver version 595. Use this after adding the XanMod repository with the non-free component. ```bash sudo apt update && sudo apt install nvidia-driver-595-open ``` -------------------------------- ### Install XanMod Kernel from .deb Files Source: https://xanmod.org/ Installs XanMod kernel image and headers directly from downloaded .deb files. This method is useful if you prefer not to add the APT repository. Ensure you have downloaded the correct .deb files. ```bash sudo dpkg -i linux-image-*xanmod*.deb linux-headers-*xanmod*.deb ``` -------------------------------- ### Update and Install XanMod Kernel Source: https://xanmod.org/ Updates the package list and installs the XanMod kernel. Ensure you have registered the PGP key and added the repository first. ```bash sudo apt update && sudo apt install linux-xanmod-x64v3 ``` -------------------------------- ### Add XanMod Repository with Non-Free Component Source: https://xanmod.org/ Adds the XanMod APT repository, including the 'non-free' component, which is necessary for installing proprietary NVIDIA drivers. Ensure the PGP key is already registered. ```bash echo "deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org $(lsb_release -sc) main **non-free**" | sudo tee /etc/apt/sources.list.d/xanmod-release.list ``` -------------------------------- ### Install Minimal Dependencies for External Modules Source: https://xanmod.org/ Installs essential dependencies required for building external kernel modules, such as DKMS. Use this if you plan to compile modules against the XanMod kernel. ```bash sudo apt install --no-install-recommends dkms libelf-dev clang lld llvm ``` -------------------------------- ### Add XanMod APT Repository Source: https://xanmod.org/ Adds the XanMod APT repository to your system's sources.list.d. This command automatically detects your distribution's codename. ```bash echo "deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/xanmod-release.list ``` -------------------------------- ### Register XanMod PGP Key Source: https://xanmod.org/ Registers the PGP key for the XanMod APT repository to ensure package authenticity. This is the first step before adding the repository. ```bash wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -vo /etc/apt/keyrings/xanmod-archive-keyring.gpg ``` -------------------------------- ### Verify XanMod Kernel Version Source: https://xanmod.org/ Checks the currently running kernel version. This command is useful after a reboot to confirm that the XanMod kernel has been successfully loaded. ```bash cat /proc/version ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.