2026-04-24 20:40:16 +02:00
|
|
|
#!/usr/bin/bash
|
|
|
|
|
set -eoux pipefail
|
2026-04-24 20:38:19 +02:00
|
|
|
|
2026-04-24 20:42:38 +02:00
|
|
|
###############################################################################
|
|
|
|
|
# Transaction 1: Multimedia Stack (Mesa + Codecs + Group)
|
|
|
|
|
# Zusammengefasst, um Abhängigkeiten in einem Schritt zu lösen.
|
|
|
|
|
###############################################################################
|
|
|
|
|
echo "Installing Multimedia stack (Mesa Freeworld, Codecs & Groups)..."
|
2026-05-04 18:44:51 +02:00
|
|
|
#dnf5 install -y \
|
|
|
|
|
# --allowerasing \
|
|
|
|
|
# --skip-unavailable \
|
|
|
|
|
# mesa-va-drivers-freeworld.x86_64 \
|
|
|
|
|
# mesa-vdpau-drivers-freeworld.x86_64 \
|
|
|
|
|
# mesa-vulkan-drivers-freeworld.x86_64 \
|
|
|
|
|
# mesa-dri-drivers-freeworld.x86_64 \
|
|
|
|
|
# ffmpeg.x86_64 \
|
|
|
|
|
# gstreamer1-libav \
|
|
|
|
|
# gstreamer1-plugins-ugly \
|
2026-05-04 19:39:40 +02:00
|
|
|
# gstreamer1-plugins-bad-free-extras \
|
|
|
|
|
# intel-media-driver \
|
2026-05-03 21:31:45 +02:00
|
|
|
|
2026-05-04 18:44:51 +02:00
|
|
|
#dnf5 install -y @multimedia
|
2026-05-03 21:31:45 +02:00
|
|
|
echo "Installing rocm"
|
|
|
|
|
dnf5 install -y \
|
2026-05-03 20:03:21 +02:00
|
|
|
rocm-clinfo \
|
|
|
|
|
rocm-hip \
|
|
|
|
|
rocm-opencl \
|
|
|
|
|
rocblas \
|
|
|
|
|
hipblas \
|
|
|
|
|
rocm-runtime
|
|
|
|
|
|
|
|
|
|
|
2026-04-24 20:42:38 +02:00
|
|
|
# --- 2. Die sofortige Bereinigung (WICHTIG!) ---
|
|
|
|
|
echo "Cleaning up this layer..."
|
|
|
|
|
dnf5 clean all || true
|
|
|
|
|
rm -rf /tmp/* /var/tmp/* || true
|