Skip to content

Instantly share code, notes, and snippets.

@ikasamt
Created December 29, 2010 08:15
Show Gist options
  • Save ikasamt/758331 to your computer and use it in GitHub Desktop.
Save ikasamt/758331 to your computer and use it in GitHub Desktop.
#`wget http://www.python.org/ftp/python/2.5.5/Python-2.5.5.tar.bz2`
#`tar -jxf Python-2.5.5.tar.bz2`
#`cd Python-2.5.5`
#`./configure`
#`make`
#`sudo make install`
lines = <<-CODE
wget http://www.python.org/ftp/python/2.5.5/Python-2.5.5.tar.bz2
tar -jxf Python-2.5.5.tar.bz2
cd Python-2.5.5
./configure
make
sudo make install
CODE
lines.split(/\n/).each do |line|
p line
p `#{line}`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment