I have had this script for a while, it’s just something I created for personal use because I always had different versions of Fedora in virtual instances.

I wanted to put it out there so you can either make it better, say its crap or give me feedback on what you’d like to add.

It’s a simple bash script and is free to modify and do what you want with.

What exactly does it do?

Firstly, it will install the fastest mirror plugin to make sure you’re obtaining software from the quickest repositories near to you.

Then it goes on to install Satya’s ‘Fedy’ which I have written about in previous posts, RPM Fusion repositories and then updates & upgrades your system.

After your system is updated it goes on to install popular applications in the following categories which I use daily

  • Photography and Video editing suites
  • Virtualisation tools
  • Games
  • Utilities
  • Networking tools
  • Multimedia Applications
  • Spotify

For a full list of software please see the script below.

#! /bin/bash
# This is Smittix's Setup Script - www.smittix.co.uk
# I use this on new installations of Fedora any questions please ask smittix@fedoraproject.org

# dnf Fastest Mirror Plugin
dnf install -y yum-plugin-fastestmirror

# Gnome Tweak Tool and a few customizations
dnf install -y gnome-tweak-tool
dnf install -y terminus-fonts
dnf install -y elementary-icon-theme
dnf install -y gnome-shell-theme*

# Fedy
dnf install -y curl
curl https://satya164.github.io/fedy/fedy-installer -o fedy-installer && chmod +x fedy-installer && ./fedy-installer

#RPM Fusion Repos
dnf localinstall -y --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

#Update the system
dnf update -y dnf
dnf update -y

#Plymouth Themes
dnf install -y plymouth-theme*

#Photography Software
dnf install -y gimp
dnf install -y inkscape
dnf install -y ufraw
dnf install -y luminance-hdr
dnf install -y darktable

#Video Editing
dnf install -y pitivi
dnf install -y kdenlive

#Virtualisation
dnf install -y @virtualization
dnf install -y libvirt

#Utilities
dnf install -y alsa-tools
dnf install -y tomboy
dnf install -y deja-dup

#Games
dnf install -y chromium-bsu
dnf install -y frozen-bubble
dnf install -y dosbox

#Internet
dnf install -y transmission
dnf install -y thunderbird
dnf install -y remmina
dnf install -y remmina-plugins*

#Multimedia
dnf install -y vlc
dnf install -y sound-juicer
dnf install -y audacity

#Nautilus Addons
dnf install -y nautilus-actions

#Youtube Downloader
dnf install -y youtube-dl


#Spotify Repo
dnf-config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo

#Install Spotify
dnf install -y spotify-client

#Lets make the fonts look a little better
#gsettings set org.gnome.desktop.interface document-font-name 'Sans 10'
#gsettings set org.gnome.desktop.interface font-name 'Cantarell 10'
#gsettings set org.gnome.desktop.interface monospace-font-name 'Terminus 10'
#gsettings set org.gnome.desktop.wm.preferences titlebar-font 'Cantarell 10'
#gsettings set org.gnome.settings-daemon.plugins.xsettings hinting 'slight'
#gsettings set org.gnome.settings-daemon.plugins.xsettings antialiasing 'rgba'

#Adding the date and seconds to the clock
#gsettings set org.gnome.desktop.interface clock-show-date
#gsettings set org.gnome.desktop.interface clock-show-seconds

If you would like to add to the script please do so via github which can be found here.

https://github.com/smittix/fedorafresh/blob/master/freshfedora.sh

As you will see at the end of the script there are commented out gsettings commands, I have commented these out as they won’t run automatically. Any help with that would be great and very much appreciated!

Download

https://github.com/smittix/fedorafresh/blob/master/freshfedora.sh

Run

Once you have downloaded the script you will need to make it executable by doing

chmod +x

then run it with

sh freshfedora.sh

and voila! Everything in that script will be installed.

I really hope this is useful to someone, I know it’s a quick and dirty script but it has definitely saved me time over the years.

for any feedback either leave a comment or contact me over at smittix (AT) fedoraproject.org


James Smith

Security Researcher, Penetration Tester & Linux Advocate

1 Comment

Ranjeet Sodhi · August 4, 2015 at 2:09 am

This script definitely helped me – I customized it further by adding Wine and a bunch of other tools I use. Thanks for the idea :).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: