Linux dependencies
Note: Don't follow this step if you plan to run BlurIt OP on Windows. Go there instead.
Choice 1 : use the Blurit CLI (recommended)
The install_dependencies.sh script shipped with older archives is deprecated. Dependencies are now installed by the Blurit CLI, with the blurit requirements command described below.
Step 1 : extract the archive
The Blurit CLI enables you to easily configure, start, and interact with Blurit. It provides a command-line interface to manage features and streamline platform usage.
The blurit binary is provided in the archive you received: there is nothing to download and nothing to install — run it straight from the directory where you extracted the archive:
tar -xzf filename.tar.gz
cd blurit-opReplace "filename" with the actual name of the archive that was provided to you.
At the end of the requirements run, the command detects that blurit is not in your PATH and offers to copy it there for you, so you don't have to do it by hand.
Step 2 : run ./blurit requirements
If you are installing BlurIt on an old server and want to maintain specific version dependencies, we don't recommend to use it but rather to manually install everything.
chmod +x ./blurit
./blurit requirementsRun the command as your regular user, not with sudo. It calls sudo on its own for every step that needs root privileges (you will be prompted for your password), and it adds the user running it to the docker group. Launching it with sudo would add root to that group instead, and you would still not be able to use Docker as your own user afterwards.
The command is interactive and safe to re-run: it only checks what is already present and installs what is missing, so you can run it again after fixing a problem or after adding a GPU to the server.
1. Distribution detection
The distribution and version are read from /etc/os-release (or lsb_release).
An unsupported distribution or version does not stop the command: it is reported as a failed OS requirement and the other steps still run, but the installation is then unsupported and may fail.
2. Installation type
You are asked to choose between a CPU-only and a GPU installation:
Choose 2 if the server has an NVIDIA GPU — this is the recommended setup for Blurit OP, and by far the fastest. Choose 1 for a CPU-only server: all NVIDIA-related steps are then skipped.
3. GPU detection
For a GPU installation, the GPU is detected with lspci (or nvidia-smi when lspci is not available) and the driver to install is selected accordingly — a Tesla (datacenter) GPU uses the NVIDIA CUDA repositories, a standard GPU uses the distribution's driver packages.
If no NVIDIA GPU is found, the NVIDIA components are skipped and a warning is printed at the end of the run.
4. Requirements report
The status of every requirement is then printed, in green when satisfied, in red when missing, in yellow for warnings:
OS
Distribution and version are in the supported list
Nothing — informational warning only
RAM (>= 16 GB)
Total RAM reported by /proc/meminfo
Nothing — a warning is printed below 16 GB, BlurIt may not run optimally
Disk space (>= 60 GB)
Free space on the Docker data directory (docker info -f '{{.DockerRootDir}}', usually /var/lib/docker)
Nothing — a warning is printed below 60 GB, BlurIt may not run optimally
Docker
The docker command exists
Docker CE from Docker's official repository (docker-ce, docker-ce-cli, containerd.io, buildx and compose plugins)
Docker Compose
docker compose version succeeds, or docker-compose exists
Installed with Docker; on Amazon Linux, the latest Compose plugin is downloaded into /usr/local/lib/docker/cli-plugins
User in docker group
Your user belongs to the docker group
sudo usermod -aG docker $USER, so that BlurIt can be operated without sudo
Shell completion
The completion line is present in your ~/.bashrc or ~/.zshrc
Adds the blurit auto-completion line to that file
NVIDIA driver
The nvidia-smi command exists
The NVIDIA driver for your distribution and GPU model (GPU installation only)
NVIDIA Container Toolkit
The nvidia-ctk command exists
nvidia-container-toolkit, then nvidia-ctk runtime configure --runtime=docker and a Docker restart (GPU installation only)
Docker NVIDIA runtime
"default-runtime": "nvidia" is set in /etc/docker/daemon.json
Writes that runtime configuration into /etc/docker/daemon.json and restarts Docker (GPU installation only)
Requirements marked (optional) are not blocking: BlurIt runs without them, but you will have to prefix every Docker command with sudo if you skip the docker group.
5. Selecting what to install
Only the missing requirements are then offered, in a checkbox list where everything is selected by default:
up / down arrows move the cursor,
space toggles the entry under the cursor,
enter confirms and starts the installation.
Uncheck an entry to keep an existing setup of your own — for example a Docker installation managed by your IT department. If you uncheck everything, nothing is installed.
If all requirements are already satisfied, the command simply prints All requirements are already installed. and moves on to the final steps.
6. Installation
Each selected requirement is installed in turn, then re-checked. The output of the underlying package manager is displayed as it runs, and sudo may ask for your password. If a requirement is still missing after its installation step, the command stops with an error so that you can fix the cause before going further.
Installing an NVIDIA driver takes several minutes, during which the server may seem unresponsive. This is expected — do not interrupt the command.
7. Final steps
Depending on what was installed, the command ends with up to three questions:
Reboot — if an NVIDIA driver was installed, a reboot is required to load it:
Answer
yto reboot immediately, orNto reboot yourself later. The driver is not usable until the server has rebooted.newgrp docker— if your user was added to thedockergroup, the change only applies to new sessions. Accepting opens a new shell with the group applied, so you can continue right away; otherwise, log out and log back in.Installing the CLI — if
bluritis not in yourPATH, the command offers to copy the binary there:Accept the proposed directory (or type another one that is in your
PATH) and every later command can be called asblurit ...instead of./blurit ....
Amazon Linux
Amazon Linux images are expected to ship with Docker and, for GPU instances, with the NVIDIA driver, the container toolkit and the Docker NVIDIA runtime already installed and configured. The command therefore only checks them, and installs Docker Compose when it is missing. A missing docker binary is a fatal error: install Docker before running blurit requirements.
Verifying the installation
After the run (and after the reboot, if there was one):
For a GPU installation, you can also check that Docker can reach the GPU:
Troubleshooting
permission deniedon the Docker socket — your session does not have thedockergroup yet. Runnewgrp docker, or log out and log back in.blurit: command not found— the binary is not in yourPATH. Call it from the directory where you extracted the archive with./blurit, or move it to a directory of yourPATH(sudo mv blurit /usr/local/sbin).A requirement fails to install — the command stops with
<requirement> installation failed. Fix the cause reported by the package manager above that line (no network access, proxy, repository not reachable, disk full), then run./blurit requirementsagain: the steps already completed are skipped.Unsupported distribution — the
OSrequirement is red. You can continue at your own risk, or follow the manual installation.
Running it as part of the installation
The requirements steps can also be run right before the BlurIt configuration, in a single command:
🚨 If NVIDIA drivers were installed, please reboot the server to load them, then go to the Configuration page. 🚨
Choice 2 : manual dependencies installation
Nvidia drivers Installation
Download the NVIDIA driver >= 470 runfile from: https://www.nvidia.com/Download/index.aspx?lang=en-us
Open a terminal and navigate to the directory where the downloaded runfile is located.
$ chmod +x <filename>.runReplace<filename>with the actual name of the downloaded runfile.$ sudo ./<filename>.run$ sudo reboot
Docker Installation
The Docker installation documentation is here.
Post-install docker linux (required):
Nvidia-docker installation
Nvidia-docker installation documentation is here.
Configure the Docker daemon to recognize the NVIDIA Container Runtime:
Restart the Docker daemon to complete the installation after setting the default runtime:
Test if Nvidia-docker is installed:
This should result in a console output shown below:
Configuring daemon.json
Open /etc/docker/daemon.json with your favorite text editor.
Add "default-runtime": "nvidia", to the json. Exemple:
Last updated