Інсталяція на Linux

Цей путівник охоплює такі теми:

  1. Installing Dependencies – Інсталювання Залежностей

  2. Downloading the Repository – Завантаження Репозиторію

  3. Setting up the Build Environment – Укладання Середовища Вибудування

Installing Dependencies – Інсталювання Залежностей

Нижче перелічені команди інсталяції для популярних дистрибутивів Linux.

Відповідно до системи запустіть команду у терміналі:

Debian/Ubuntu:

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

Redhat/Fedora:

sudo dnf 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

Downloading the Repository – Завантаження Репозиторію

Просто підтвердьте репозиторій підручника Blender Manual, використовуючи:

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

Цей репозиторій тепер буде завантажено, що може тривати кілька хвилин, залежно від вашого інтернет з’єднання.

Setting up the Build Environment – Установка Середовища Вибудування

  • Відкрийте вікно Терміналу.

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

    cd ~/blender-manual
    
  • Install dependencies:

    make setup
    

Примітка

Every now and then you need to re-run this command, to make sure dependencies are up to date.

Порада

make setup automatically creates a virtual environment using these commands:

python3 -m venv .venv
.venv/bin/pip install -r requirements.txt

This avoids interfering with the system Python installation, following PEP 668

The Sphinx command is available at:

.venv/bin/sphinx-build