Skip to content

Instantly share code, notes, and snippets.

@dyoungwd
Created October 31, 2015 10:18
Show Gist options
  • Save dyoungwd/bd5b0dbc865e2b364c83 to your computer and use it in GitHub Desktop.
Save dyoungwd/bd5b0dbc865e2b364c83 to your computer and use it in GitHub Desktop.
Auto Software Install script for new Fedora Install
#! /bin/bash
# script to auto install everything
# Use hashtag to edit out software you do not require
# author D4zzY dyoung0378@gmail.com
mkdir ~/Newinstall
mv newfedorainstall.sh ~/Newinstall
cd ~/Newinstall
echo " "
echo "*****************************************************************"
echo "* Optimised for Fedora 22 *"
echo "* *"
echo "*****************************************************************"
echo " "
echo " "
echo "*****************************************************************"
echo "* System Update *"
echo "*****************************************************************"
echo " "
dnf -y update
echo " "
echo "*****************************************************************"
echo "* Installing Additional Repos *"
echo "*****************************************************************"
echo " "
dnf install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
dnf install --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
dnf install --nogpgcheck http://linuxdownload.adobe.com/linux/$(uname -m)/adobe-release-$(uname -m)-1.0-1.noarch.rpm
dnf -y localinstall --nogpgcheck https://dl.google.com/linux/direct/google-chrome-stable_current_$(uname -m).rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
echo " "
echo "*****************************************************************"
echo "* Installing Google Repo *"
echo "*****************************************************************"
echo " "
cat << EOF > /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome - \$basearch
baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
EOF
echo " "
echo "*****************************************************************"
echo "* Installing All Plugins and Software *"
echo "*****************************************************************"
echo " "
#LXDE (replace with DE of choice )
dnf -y group install lxde-desktop
#codecs/drivers
dnf -y install gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly java java*jdk java*jdk*plugin flash-plugin
#educational
yum -y install xiphos anki
#games
dnf -y install hedgewars numptyphysics gweled frozen-bubble numptyphysics five-or-more four-in-a-row gnome-chess gnome-klotski gnome-mahjongg gnome-mines gnome-nibbles gnome-robots gnome-sudoku gnome-tetravex tali iagno swell-foop lightsoff quadrapassel
#graphic applications
dnf -y install blender inkscape gimp pinta pencil dia shutter mypaint
#Internet/communications
dnf -y install google-chrome-stable firefox thunderbird filezilla pidgin pidgin-guifications deluge
#office/readers/editors
dnf -y install libreoffice chmsee evince scite
#mediaplayers/editors
dnf -y install vlc openshot dvdrip hydrogen lmms audacity-freeworld
#utilities
dnf -y install vlc openshot dvdrip hydrogen lmms audacity-freeworld -y install alacarte cups-pdf unrar liveusb-creator alacarte gparted unrar nspluginwrapper alsa-plugins-pulseaudio libcurl p7zip fedora-icon-theme gconf-editor gnome-tweak-tool pcmanfm gnome-packagekit-updater nemo-fileroller
#programming
dnf -y install vlc openshot dvdrip hydrogen lmms audacity-freeworld -y install cmake fpc gcc gcc-c++ eclipse geany codeblocks bluefish netbeans gitg meld
#angryip
wget http://github.com/angryziber/ipscan/releases/download/3.3.2/ipscan-3.3.2-1.x86_64.rpm
rpm -ivh ipscan-3.3.2-1.x86_64.rpm
rpm -ev ipscan-3.3.2-1.x86_64.rpm
cd ~/
rm -rf ~/Newinstall
echo " "
echo "*****************************************************************"
echo "* Installation Complete - Enjoy Fedora *"
echo "*****************************************************************"
echo " "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment