Asennus Linuxilla

Tässä oppaassa kuvataan seuraavat aiheet:

  1. Riippuvuusasennus

  2. Ladataan ohjelmistovarastosta

  3. Ohjelmistokehitysympäristön asettaminen

Ohjelmiston riippuvuusasennus

Tässä on asennuskomentosekvenssit suosituille Linux-jakeluille.

Käytä sopivaa ohjelmistojakelua suorittaaksesi komentorivilla:

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

Ohjelmistovaraston lataaminen

Simply check out the Blender Manual’s repository using:

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

Latauksen kesto (yleensä muutama minuutti) riippuu Internet-yhteyden nopeudesta.

Ohjelmisto-rakennetun ympäristön perustamiseen

  • Open a Terminal window.

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

    cd ~/blender-manual
    
  • Install dependencies:

    make setup
    

Muista

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

Vihje

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