Description

Requirements

  • Active internet connection
  • Fedora 32 or above

Installation

If you use Fedora (32, 33, 34 ELN, Rawhide* or above), CentOS (Stream 8 or above), RHEL (8 or above), Mageia (7, Cauldron or above), OpenSUSE (Leap or Tumbleweed) - you can install NVIDIA Auto Installer for Fedora by enabling my COPR repository. Simply execute the following commands in succession to install the tool.

*Rawhide notes. Install and enable the non-debug kernel repository, or expect problems due to GPL-only symbols.

# dnf install dnf-plugins-core -y # dnf copr enable t0xic0der/nvidia-auto-installer-for-fedora -y # dnf install nvautoinstall -y

Usage

  1. Make sure you have a working internet connection
  2. Install the tool from COPR with the above instructions
  3. Execute nvautoinstall to check installation modes
  4. Run the installation modes according to your needs
  5. Give stars to the repository if you found this helpful

Modes of installation

Active internet connection and superuser privilege is required to execute the following installation modes.

  • sudo nvautoinstall --rpmadd
    This mode enables the RPM Fusion NVIDIA drivers repository.
  • sudo nvautoinstall --driver
    This mode simply installs the NVIDIA drivers (with x86_64 deps only). Enabling the RPM Fusion NVIDIA drivers repository is mandatory before doing this.
  • sudo nvautoinstall --x86lib
    This mode installs only the x86 libraries for Xorg. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --nvrepo
    This mode enables the official NVIDIA repository for CUDA software.
  • sudo nvautoinstall --plcuda
    This mode installs only the CUDA support software. Enabling the RPM Fusion NVIDIA drivers and NVIDIA official repository, and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --ffmpeg
    This mode installs only the FFMPEG acceleration. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --vulkan
    This mode installs only the Vulkan renderer. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --vidacc
    This mode installs only the VDPAU/VAAPI acceleration. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --getall
    This mode installs all the above packages. (Not been implemented yet)
  • sudo nvautoinstall --cheksu
    This mode allows you to check the current user privilege level. You can use this tool effectively only when you have logged in as a root or sudo user.
  • sudo nvautoinstall --compat
    This mode allows you to check your hardware and host compatibility. The tool would check your hardware and host and tell if your device is supported by the tool or not.
  • sudo nvautoinstall --version
    This mode would show the tool version and exit out.
  • sudo nvautoinstall --help
    This mode would show the help message and exit out.

Note

  • Active internet connection is required to download drivers.
  • Requires secure boot to be turned off in UEFI systems.
  • Requires superuser access for repo addition and driver setup.
  • The drivers are fetched from the RPMFusion repository.
  • Use discretion while using this on other spins.
  • Only tested on 9XX/10XX/20XX series discrete cards.
  • Use discretion while installing with older cards.
  • No additional configuration is required for Optimus setups.

Coming soon

  • CLI "Launch using Dedicated Graphics Card" option.
  • Intuitive mode switching for hybrid graphics.
  • Distinct mode for using integrated or discrete GPU.
  • Experimental support for RHEL 8 and CentOS 8.
  • Support for older cards by active querying at NVIDIA.
  • Native support for PRIME configuration on Optimus.

Disclaimer

This tool has been tried and tested multiple times and is expected to work flawlessly in Fedora Workstation 32 or above. It has not been tested on any of the spins yet so proceed with caution. While the chances of things going wrong is pretty slim but still you would want to make backups, should things do not go as expected. As always, you are choosing to use this tool at your will and you cannot hold me responsible for any mishap there may occur due to the misuse of this tool.

Installation Instructions

Requirements

  • Active internet connection
  • Fedora 32 or above

Installation

If you use Fedora (32, 33, 34 ELN, Rawhide* or above), CentOS (Stream 8 or above), RHEL (8 or above), Mageia (7, Cauldron or above), OpenSUSE (Leap or Tumbleweed) - you can install NVIDIA Auto Installer for Fedora by enabling my COPR repository. Simply execute the following commands in succession to install the tool.

*Rawhide notes. Install and enable the non-debug kernel repository, or expect problems due to GPL-only symbols.

# dnf install dnf-plugins-core -y # dnf copr enable t0xic0der/nvidia-auto-installer-for-fedora -y # dnf install nvautoinstall -y

Usage

  1. Make sure you have a working internet connection
  2. Install the tool from COPR with the above instructions
  3. Execute nvautoinstall to check installation modes
  4. Run the installation modes according to your needs
  5. Give stars to the repository if you found this helpful

Modes of installation

Active internet connection and superuser privilege is required to execute the following installation modes.

  • sudo nvautoinstall --rpmadd
    This mode enables the RPM Fusion NVIDIA drivers repository.
  • sudo nvautoinstall --driver
    This mode simply installs the NVIDIA drivers (with x86_64 deps only). Enabling the RPM Fusion NVIDIA drivers repository is mandatory before doing this.
  • sudo nvautoinstall --x86lib
    This mode installs only the x86 libraries for Xorg. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --nvrepo
    This mode enables the official NVIDIA repository for CUDA software.
  • sudo nvautoinstall --plcuda
    This mode installs only the CUDA support software. Enabling the RPM Fusion NVIDIA drivers and NVIDIA official repository, and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --ffmpeg
    This mode installs only the FFMPEG acceleration. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --vulkan
    This mode installs only the Vulkan renderer. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --vidacc
    This mode installs only the VDPAU/VAAPI acceleration. Enabling the RPM Fusion NVIDIA drivers repository and installing the basic drivers are mandatory before doing this.
  • sudo nvautoinstall --getall
    This mode installs all the above packages. (Not been implemented yet)
  • sudo nvautoinstall --cheksu
    This mode allows you to check the current user privilege level. You can use this tool effectively only when you have logged in as a root or sudo user.
  • sudo nvautoinstall --compat
    This mode allows you to check your hardware and host compatibility. The tool would check your hardware and host and tell if your device is supported by the tool or not.
  • sudo nvautoinstall --version
    This mode would show the tool version and exit out.
  • sudo nvautoinstall --help
    This mode would show the help message and exit out.

Note

  • Active internet connection is required to download drivers.
  • Requires secure boot to be turned off in UEFI systems.
  • Requires superuser access for repo addition and driver setup.
  • The drivers are fetched from the RPMFusion repository.
  • Use discretion while using this on other spins.
  • Only tested on 9XX/10XX/20XX series discrete cards.
  • Use discretion while installing with older cards.
  • No additional configuration is required for Optimus setups.

Coming soon

  • CLI "Launch using Dedicated Graphics Card" option.
  • Intuitive mode switching for hybrid graphics.
  • Distinct mode for using integrated or discrete GPU.
  • Experimental support for RHEL 8 and CentOS 8.
  • Support for older cards by active querying at NVIDIA.
  • Native support for PRIME configuration on Optimus.

Disclaimer

This tool has been tried and tested multiple times and is expected to work flawlessly in Fedora Workstation 32 or above. It has not been tested on any of the spins yet so proceed with caution. While the chances of things going wrong is pretty slim but still you would want to make backups, should things do not go as expected. As always, you are choosing to use this tool at your will and you cannot hold me responsible for any mishap there may occur due to the misuse of this tool.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Centos-stream 8 x86_64 (4)* Centos-stream 8 (65 downloads)
Custom 1 x86_64 (0)* Custom 1 (84 downloads)
EPEL 7 x86_64 (0)* EPEL 7 (67 downloads)
EPEL 8 x86_64 (4)* EPEL 8 (88 downloads)
Fedora 39 x86_64 (0)* Fedora 39 (49 downloads)
Fedora 40 x86_64 (0)* Fedora 40 (22 downloads)
Fedora 41 x86_64 (0)* Fedora 41 (9 downloads)
Fedora eln x86_64 (0)* Fedora eln (72 downloads)
Fedora rawhide x86_64 (4)* Fedora rawhide (73 downloads)
Mageia 8 x86_64 (4)* Mageia 8 (57 downloads)
Mageia cauldron x86_64 (4)* Mageia cauldron (73 downloads)
openSUSE Tumbleweed x86_64 (4)* openSUSE Tumbleweed (74 downloads)

* Total number of downloaded packages.


Quick Enable

#> dnf copr enable hellork/nvidia-auto-installer-for-fedora
More info about enabling Copr repositories

Other Actions