Ask Your Question

Creuzo's profile - activity

2015-06-28 02:02:57 -0500 received badge  Popular Question (source)
2015-06-28 02:02:57 -0500 received badge  Notable Question (source)
2015-01-04 23:42:25 -0500 received badge  Student (source)
2015-01-04 19:10:25 -0500 answered a question Create Fedora script for installing software

There are several packages that are provided by distinct repositories. So, using Fedora as my primary OS for almost a year, I have written this script to install the software I like when I reinstall my workstation. Depending on what I want, I comment/uncomment some sections or add new packages. I commented Intel graphics because it did not have yet a version for Fedora 21 and Gnome15 site is also offline, so I also commented that line. If you uncomment the virtualization preview repository, you will get the most current packages (latest builds) for virtualization. You can use parts of the script below or use it as example:

#!/bin/bash
####################
# Add Repositories #
####################

# Intel Graphics
#wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg ; \
#rpm --import RPM-GPG-KEY-ilg
#wget --no-check-certificate https://download.01.org/gfx/RPM-GPG-KEY-ilg-2 ; \
#sudo rpm --import RPM-GPG-KEY-ilg-2

#echo -n "Do you want to install Intel Graphics 1.0.6 [Y/N]? "
#read ANSWER
#ANSWER=${ANSWER^^}
#if [ x"$ANSWER" == x"Y" ]; then 
#    yum install https://download.01.org/gfx/fedora/20/x86_64/intel-linux-graphics-installer-1.0.6-20.intel20142.x86_64.rpm -y
#fi

# Virtualization preview
#cd /etc/yum.repos.d/
#wget http://fedorapeople.org/groups/virt/virt-preview/fedora-virt-preview.repo
#yum update
#cd -

# Fusion Repo
yum localinstall --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 -y

#Gnome15 repo (support for G510 keyboard)
#rpm --import http://packages.russo79.com/fedora/20/gnome15/repodata/repomd.xml.key
#curl -o /etc/yum.repos.d/gnome15.repo http://packages.russo79.com/fedora/20/gnome15/gnome15.repo

# Google Repo
echo [google-chrome] > /etc/yum.repos.d/google-chrome.repo
echo name=google-chrome >> /etc/yum.repos.d/google-chrome.repo
echo baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 >> /etc/yum.repos.d/google-chrome.repo
echo enabled=1 >> /etc/yum.repos.d/google-chrome.repo
echo gpgcheck=1 >> /etc/yum.repos.d/google-chrome.repo
echo gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub >> /etc/yum.repos.d/google-chrome.repo

# Adobe repo
yum install http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm -y
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

# Add repository for libdvdcss
rpm -ivh http://rpm.livna.org/livna-release.rpm

yum check-update

#################
# Update System #
#################

yum update -y

####################
# Install Packages #
####################

# KVM / Prereq VMWare / lshw / gtk-immodules /samba
yum install @virtualization libvirt gcc kernel-devel kernel-headers lshw-gui gtk2-immodule-xim.i686 gtk2-immodule-xim.x86_64 gtk2-immodules.i686 gtk2-immodules.x86_64 gtk3-immodule-xim.x86_64 gtk3-immodules.x86_64 openssh-askpass libguestfs libguestfs-tools.noarch -y
systemctl start libvirtd

# Poewer Managememt
yum install bltk powertop systemtap tuned-utils kernel-debuginfo -y

#Install Gnome15 packages
#yum install gnome15-core gnome15-driver-g15direct gnome15-gnome-shell gnome15-plugin-weather-yahoo gnome15-plugin-background  gnome15-plugin-cairo-clock gnome15-plugin-cal gnome15-plugin-cal-evolution gnome15-plugin-cal-google gnome15-plugin-clock gnome15-plugin-debug gnome15-plugin-fx gnome15-plugin-im gnome15-plugin-macro-recorder gnome15-plugin-macros gnome15-plugin-sense gnome15-plugin-sysmon gnome15-plugin-panel gnome15-plugin-notify-lcd gnome15-plugin-profiles gnome15-plugin-processes gnome15-plugin-tweak -y

# Install VLC / Google Chrome / Flash Plugin / Zim Notes / DConf / Keepass / TCPLAY (truecrypt) / i7z / gnucash /gtypist / icedtea
yum install vlc google-chrome-stable flash-plugin nspluginwrapper alsa-plugins-pulseaudio libcurl Zim.noarch dconf-editor.x86_64 keepassx.x86_64 tcplay.x86_64 i7z.x86_64 gnucash libdbi-dbd-sqlite p7zip scrot gtypist icedtea-web -y

# CODECS
yum install gstreamer{1,}-{ffmpeg,libav,plugins-{good,ugly,bad{,-free ...
(more)