By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: Ubuntu remove Nvidia Cuda drivers
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Linux

Ubuntu remove Nvidia Cuda drivers

Published: February 18, 2024
1 Min Read
SHARE

Ubuntu remove Nvidia Cuda drivers. Want to remove the installed earlier and install a new Cuda toolkit? Applies to Ubuntu and some other Linux OS`s.

Contents
For Cuda drivers below 10.x.deb installationFor CUDA 10.x or higher

For Cuda drivers below 10.x

Uninstall only nvidia-cuda-toolkit:

sudo apt-get remove nvidia-cuda-toolkit

Uninstall nvidia-cuda-toolkit with its dependencies:

sudo apt-get remove --auto-remove nvidia-cuda-toolkit

Purging config/data:

sudo apt-get purge nvidia-cuda-toolkit or sudo apt-get purge --auto-remove nvidia-cuda-toolkit

Additionally, delete the /opt/cuda and ~/NVIDIA_GPU_Computing_SDK folders if they are present. and remove the export PATH=$PATH:/opt/cuda/bin and export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/cuda/lib:/opt/cuda/lib64 lines of the ~/.bash_profile file.

.deb installation

This is for whom use *.deb files to install Cuda.

sudo apt-get autoremove --purge cuda

This can clear the Cuda clearly. You can check that the folder /usr/local/cuda gone. And this command is the best choice to remove *.apt installed app.

But when you reinstall another version of Cuda, you must use:

sudo apt-get install cuda-x.x

NOTE: The version number must be included

For CUDA 10.x or higher

Use Cuda uninstaller:

sudo /usr/local/cuda/bin/cuda-uninstaller
TAGGED:LinuxUbuntu
Previous Article PowerShell Start-Process Credential error
Next Article Best Anti Adblock WordPress Plugins
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?