mirror of
https://github.com/stornic56/openvino-runtime-simple-installer.git
synced 2026-10-31 13:08:06 +00:00
9fa67d432c
- OpenVINO Runtime 2026.4.0.22959.99c81491cc3 (BASE_URL packages/2026.4)
- NEO 26.35.39758.10 + IGC 2.41.5+22716 (6 paquetes de produccion, sin dbgsym/-devel)
- Mesa >= 25.2 en Debian 13: mesa-libgallium sustituye mesa-va-drivers/mesa-vdpau-drivers (Rompe < 25.2.8-3)
- INSTALL_DIR derivado de la version (/opt/intel/openvino_2026.4.0) con politica replace y symlink estable
- rm -rf cubre symlink O directorio real en la limpieza previa
- deps/: set -euo pipefail + guard ${1:-} (sin abortos esporios)
- DRY flags/GPU: read -r con guard EOF, deteccion GPU sin SIGPIPE, trap EXIT en modulos, GPU_PRESENT como comparacion
- .gitignore: artefactos de instalacion fuera del repo
29 lines
926 B
Bash
29 lines
926 B
Bash
#!/bin/bash
|
||
set -euo pipefail
|
||
|
||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||
source "$SCRIPT_DIR/../core/common.sh"
|
||
|
||
print_step "Fedora Module – Drivers and Multimedia"
|
||
|
||
# ---- 1. Instalar NEO completo y herramientas ----
|
||
print_substep "Installing Intel Compute Runtime (NEO)"
|
||
dnf install -y intel-compute-runtime clinfo vainfo nvtop
|
||
|
||
# ---- 2. Driver multimedia Intel ----
|
||
print_substep "Installing VAAPI Intel driver..."
|
||
dnf install -y libva-intel-media-driver
|
||
|
||
# ---- 3. Paquetes adicionales (VPL, GBM) ----
|
||
print_substep "Installing libvpl and mesa-libgbm..."
|
||
dnf install -y libvpl mesa-libgbm
|
||
|
||
# ---- 4. Añadir usuario a grupos ----
|
||
print_substep "Adding user to render and video groups (if they exist)..."
|
||
if [ -n "${SUDO_USER:-}" ]; then
|
||
usermod -a -G render,video "$SUDO_USER"
|
||
else
|
||
current_user="${SUDO_USER:-$(logname 2>/dev/null || id -un)}"
|
||
usermod -a -G render,video "$current_user"
|
||
fi
|