Skip to content

Instantly share code, notes, and snippets.

@codatory
Created May 20, 2011 17:48
Show Gist options
  • Save codatory/983404 to your computer and use it in GitHub Desktop.
Save codatory/983404 to your computer and use it in GitHub Desktop.
Fedora 15 Setup Script
#!/bin/bash
clear
function echo_newline {
echo -e "\n"
}
function pretty_echo {
echo_newline
echo "-------------------------"
echo $1
echo_newline
}
echo_newline
echo "------------------------------"
echo "- Fedora 16 -"
echo "- Initializer Script -"
echo "------------------------------"
echo_newline
echo_newline
pretty_echo "Installing fastestmirror"
yum install -y yum-fastestmirror
pretty_echo "Enabling RPMFusion"
rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
rpm -ivh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
pretty_echo "Updating system packages"
yum update -y
pretty_echo "Installing Compilers, etc"
yum install -y gcc gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison kernle-devel curl-devel wget htop git libxml2-devel libxslt-devel ruby ruby-devel rubygems ctags ctags-etags aspell aspell-en sqlite sqlite-devel
yum install -y google-perftools google-perftools-devel java
gem install rake
pretty_echo "Installing nicer fonts"
yum install -y bitstream-vera-* dejavu-* google-droid-*
rpm -Uvh http://16p.org/f/msttcorefonts-2.0-1.noarch.rpm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment