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-05 16:00:39 +02:00
|
|
|
dnf5 install -y \
|
|
|
|
|
--allowerasing \
|
|
|
|
|
--skip-unavailable \
|
2026-05-05 16:41:46 +02:00
|
|
|
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 \
|
2026-05-05 16:00:39 +02:00
|
|
|
gstreamer1-libav \
|
|
|
|
|
gstreamer1-plugins-ugly \
|
|
|
|
|
gstreamer1-plugins-bad-free-extras \
|
|
|
|
|
intel-media-driver
|
2026-05-03 21:31:45 +02:00
|
|
|
|
2026-05-07 06:22:05 +02:00
|
|
|
dnf5 install -y @multimedia
|
|
|
|
|
|
|
|
|
|
#echo "Installing rocm"
|
|
|
|
|
#dnf5 install -y \
|
|
|
|
|
# rocm-clinfo \
|
|
|
|
|
# rocm-hip \
|
|
|
|
|
# rocm-opencl \
|
|
|
|
|
# rocblas \
|
|
|
|
|
# hipblas \
|
|
|
|
|
# rocm-runtime
|
2026-05-03 20:03:21 +02:00
|
|
|
|
|
|
|
|
|
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
|