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)..."
|
|
|
|
|
dnf5 install -y \
|
2026-05-01 16:55:04 +02:00
|
|
|
mesa-va-drivers-freeworld.x86_64 \
|
|
|
|
|
mesa-vdpau-drivers-freeworld.x86_64 \
|
|
|
|
|
mesa-vulkan-drivers-freeworld.x86_64 \
|
|
|
|
|
ffmpeg.x86_64 \
|
|
|
|
|
ffmpeg-libs.x86_64 \
|
|
|
|
|
libavcodec-freeworld.x86_64 \
|
|
|
|
|
gstreamer1-libav.x86_64 \
|
|
|
|
|
gstreamer1-plugins-bad-freeworld.x86_64 \
|
|
|
|
|
gstreamer1-plugins-ugly.x86_64
|
2026-04-28 18:57:52 +02:00
|
|
|
--allowerasing \
|
|
|
|
|
--skip-unavailable
|
2026-04-24 20:42:38 +02:00
|
|
|
|
|
|
|
|
# Die Gruppeninstallation bleibt separat, da sie eine eigene logische Einheit ist
|
|
|
|
|
dnf5 group install -y multimedia --with-optional --allowerasing
|
|
|
|
|
|
|
|
|
|
# --- 2. Die sofortige Bereinigung (WICHTIG!) ---
|
|
|
|
|
echo "Cleaning up this layer..."
|
|
|
|
|
dnf5 clean all || true
|
|
|
|
|
dnf5 autoremove -y || true
|
|
|
|
|
rm -rf /tmp/* /var/tmp/* || true
|