Linux에서 준비하기#

이 도움말은 이런 주제들에 대해서 다뤄요.

  1. 설치 환경

  2. 서버 저장소 파일 다운로드하기

  3. 빌드(build) 환경 구축하기

설치 환경#

이 명령어들은 가장 많이 쓰이는 리눅스 배포판(distribution)에서 사용 가능해요.

자기의 시스템에 맞는 명령어를 터미널에서 실행하세요.

Debian/Ubuntu:

sudo apt-get install python3 python3-pip git git-lfs
git lfs install --skip-repo

Redhat/Fedora:

sudo yum install python python-pip git git-lfs
git lfs install --skip-repo

Arch Linux:

sudo pacman -S python python-pip git git-lfs
git lfs install --skip-repo

서버 저장소 파일 다운로드하기#

Simply check out the Blender Manual’s repository using:

cd ~
git clone https://projects.blender.org/blender/blender-manual.git

그러면 저장소 파일들이 다운로드될 거예요. 인터넷이 느리면 몇 분이 걸릴 수도 있어요.

빌드(build) 환경 구축하기#

It is recommended to setup and activate a virtual Python environment where dependencies will be installed:

python3 -m venv .venv
source .venv/bin/activate

Repeat the source .venv/bin/activate command to re-activate the virtual environment, whenever you open a new terminal to build the documentation.

This step may be required on some distributions that enforce PEP 668.

  • 터미널 창을 여세요.

  • Enter the blender-manual folder which was just added by git clone:

    cd ~/blender-manual
    
  • Inside that folder is a file called requirements.txt which contains a list of all the dependencies we need. To install these dependencies, we can use the pip3 command:

    pip3 install -r requirements.txt
    

참고

이 명령어로 항상 환경(dependency)을 최신 버전으로 유지하세요.

pip3 install -r requirements.txt --upgrade