Files
linux_script_setupfedora/setupfedora.sh
mattia 739f6bb01c Update DNF group command
'groupupdate' is deprecated.
2021-08-11 23:49:01 +02:00

48 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
### Setup Fedora ###
# Abort on errors
set -e
# Check if the script is running as root
if [[ $UID != "0" ]]; then
echo "ERROR: You must run this script as root!"
exit 1
fi
# Run a system upgrade
dnf upgrade
# Install RPM Fusion repositories
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
dnf install \
rpmfusion-free-release-tainted \
rpmfusion-nonfree-release-tainted
# Install additional software
dnf install \
alacritty \ # terminal emulator
bat \ # like cat, but better
caddy \ # easy-to-use web server
flameshot \ # screenshoot utility
gcolor2 \ # color picker
gimp \ # image manipulation program
git \ # revision control system
olive \ # video editor
picard \ # music file tagger
simplescreenrecorder \ # screen recorder
telegram-desktop \ # Telegram client
unrar \ # RAR archives extractor
vlc # media player
# Install media codecs
dnf group upgrade Multimedia # group of codec packages
dnf install \
ffmpeg \ # AV converter and more
libdvdcss # proprietary library necessary to play protected DVDs