• Feed
  • Explore
  • Ranking
/
/
    개발환경

    [개발환경] WSL ubuntu 삭제 후 재설치

    wsl ubuntu 삭제 후 재설치 & anaconda 설치 과정
    z
    zzoming
    2025.03.03
    ·
    2 min read

    Ubuntu 완전 삭제 후 재설치

    stop ubuntu

    wsl -l -v
    wsl --shutdown
    • -l : 현재 시스템에 설치된 wsl 배포판 목록 표시

    • -v : wsl 배포판의 버전 정보 표시

      Download Now | Anaconda
      Anaconda is the birthplace of Python data science. We are a movement of data scientists, data-driven enterprises, and open source communities.
      https://www.anaconda.com/download/success

    unregister ubuntu

    wslconfig /unregister ubuntu-22.04

    install ubuntu

    wsl --install --distribution ubuntu-22.04

    wsl 에 anaconda 설치

    다운로드

    자신의 Linux에 맞는 설치파일 링크 복사 및 설치 (보통 64-Bit installer 설치)

    wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh

    설치하기

    bash Anaconda3-2024.10-1-Linux-x86_64.sh

    재실행 후 버전확인

    # command 창을 다시 실행 시켜주세요 
    (base) C:\Users\Administrator>conda --version
    conda 23.11.0
    
    (base) C:\Users\Administrator>python --version
    Python 3.11.5
    
    (base) C:\Users\Administrator>pip --version
    pip 23.3.1 from C:\Users\Administrator\anaconda3\Lib\site-packages\pip (python 3.11)

    업데이트

    conda update -n base conda 
    conda update --all

    참고

    https://xcevor.tistory.com/422







    - 컬렉션 아티클