Ubuntu 환경에서 설치되어있는 CUDA 를 삭제하기 위한 방법
출처 : https://askubuntu.com/questions/530043/removing-nvidia-cuda-toolkit-and-installing-new-one
0. 설치되어 있는 CUDA 버전 확인
nvcc --version
>>nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2017 NVIDIA Corporation
Built on Fri_Sep__1_21:08:03_CDT_2017
Cuda compilation tools, release 9.0, V9.0.176
nvcc 동작하지 않을시,
ls /usr/local/ | grep cuda
1. 디렉토리 이동
CUDA 9.0 버전이 설치되어있다고 가정할 때, 해당 디렉토리로 이동
cd /usr/local/cuda-9.0/bin
2. Uninstall 파일 실행 권한 부여 및 실행
디렉토리에 uninstall_cuda_9.0.pl 파일이 존재
chmod +x uninstall_cuda_9.0.pl # 실행권한 부여
sudo ./uninstall_cuda_9.0.pl # 실행
'ML or DL > 개발환경' 카테고리의 다른 글
[딥러닝 환경구축(3/3)] RTX 3090 + Windows 10 + CUDA +cuDNN (0) | 2022.05.12 |
---|---|
[딥러닝 환경구축] Tensorflow-gpu 정상 작동 확인하기 (GPU 점유확인) (1) | 2022.05.11 |
[딥러닝 환경구축 (2/3)] RTX 3080 (Laptop) + Windows 10 + CUDA + cuDNN (0) | 2022.04.14 |
[Jupyter notebook] jupytext 이용한 Git 버전 / 형상 관리 (0) | 2022.01.20 |
[Jupyter notebook] notebook 폰트 변경 (0) | 2022.01.20 |