Created
February 22, 2025 19:35
-
-
Save gianmarcogg03/8cc492a743e4a7c14bbf45587e2ab06f to your computer and use it in GitHub Desktop.
Fedora Codecs Installation Script - A simple thing I made to fix Fedora's biggest OOTB flaw in just a few seconds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Fedora Codecs Installation Script, please respond to any prompts for a sudo password or something similar. This is still a work in progress!" | |
# Installing RPM Fusion free and nonfree repos | |
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm --assumeyes | |
# Installing the main codecs | |
sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel --assumeyes | |
# Replacing ffmpeg-free with regular ffmpeg | |
sudo dnf install ffmpeg --allowerasing --assumeyes | |
echo "Fedora Codecs Installation Script has completed the operations." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment