카테고리 없음

딥러닝을 위한 Ubuntu20.04 setting

asev 2024. 2. 23. 09:42

 

한글 입력(kime)

 

 

manage installed Languages - keyboard input method system - kime

 

 

 

 

 

 

 

 

 

2. Cuda toolkit 설치

 

https://developer.nvidia.com/cuda-12-2-2-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=runfile_local

 

CUDA Toolkit 12.2 Update 2 Downloads

 

developer.nvidia.com

 

 

a@a-S:~$ nvcc -V
명령어 'nvcc' 을(를) 찾을 수 없습니다. 그러나 다음을 통해 설치할 수 있습니다:

sudo apt install nvidia-cuda-toolkit

 

 

 

nvcc -V  에러로 다시 거거

 

https://teddylee777.github.io/linux/ubuntu2004-cuda-update/

 

우분투(ubuntu 20.04) 에서 기존의 CUDA 설치버전 업데이트 하는 방법

우분투(ubuntu 20.04) 에서 기존의 CUDA 설치버전 업데이트 하는 방법에 대해 알아보겠습니다.

teddylee777.github.io

 

 

sudo apt install nvidia-driver-535

 

 

 

 

 

3. cuDNN 설치

 

https://developer.nvidia.com/cudnn-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local

 

cuDNN 9.0.0 Downloads

 

developer.nvidia.com

 

설치 확인

 

 

 

4. 도커설치??

 

5. 비주얼스튜디오코드 설치

$ sudo snap install code --classic

 

***   /etc/profile, ~/.bash_profile, ~/.bashrc, /etc/bashrc 파일 비교

실행 순서

   1. /etc/profile
   2. ~/.bash_profile    or    ~/.bash_login    or    ~/.profile
   3. ~/.bashrc
   4. /etc/bashrc

환경 설정은 profile 파일에 alias 및 함수 설정은 bashrc 파일 저장하는 것을 권장하고 있습니다.

 

https://coding-chobo.tistory.com/72

 

/etc/profile, ~/.bash_profile, ~/.bashrc, /etc/bashrc 파일 비교

* login shell & non-login shell 이란 /etc/profile, ~/.bash_profile, ~/.bashrc, /etc/bashrc 파일들은 장치 관리 및 사용자 환경을 위한 설정 파일입니다. 위 파일들의 차이점을 알기 위해선 먼저 login shell과 non-login sh

coding-chobo.tistory.com