name: inverse layout: true class: center, middle, inverse --- # Data Munging ## for Humanities and Social Science Students # Software tools of the trade --- layout: false # Software tools - There are two options to taking this class. You can: **.blue[Choice #1 ]** - Buying remote access to a Linux machine from the computer science club (CSC) is a great choice. * It's cheap ($2 / term) * Log into your account from anywhere in the world. * They have everything you need installed on their servers. * **If in doubt, do this.** |
| http://csclub.uwaterloo.ca | |------------------|-------------------| **.blue[Choice #2]** - DIY - Instal everything on your own system. * Read on to see what you'll need --- layout: false ## Your operating system ## Unix & Apple
- The key philosophy underlying Unix-like systems is that everything is represented as text. - **Apple** machines are based on FreeBSD which is a unix variant. By default Macs have many command line utilities installed. You may have all the basic tools you need installed! ## Windows
- **Windows** does not have such a clear design philosophy but unix-work-a-like tools are available to download for free --- .left-column[ ## Software Software to download ] .right-column[ ## Windows machines
- Cygwin bash shell and many utilities - "Cygwin is a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows." - http://www.cygwin.com - Installing Cygwin: - https://cygwin.com/install.html - Here is another quick install slide that may be helpful: http://www2.warwick.ac.uk/fac/sci/moac/people/students/peter_cock/cygwin/part1 - Make sure cygwin has installed: - **wget, lynx, wc, vi, vim, nano, grep, sort, uniq** - Also choose **bash** and **python** - ** DON'T ** choose files that you don't need. You could end up taking up a lot of disk-space for things you won't use. ] --- .left-column[ ## Software Software to download ] .right-column[ ## Apple machines
- Apple has kindly decided to package python, bash and all sorts of command line in the default install - However, upgrading these packages manually is complex and difficult. Instead, there are different package manager software that will handle the upgrade process for you. - Personally, I use **MacPorts** (https://www.macports.org/) to automatically handle installing software. - Here is a how-to: https://astrofrog.github.io/macports-python/ - Many people use **HomeBrew** (http://brew.sh/) to do the same thing. "They" say it is better but MacPorts works for me and I have enough to do. *Warning*: I can't support this because I know so little about it! ] --- .left-column[ ## Software Installing Python ] .right-column[ ## All machines
- Your operating system may very well have python installed already. - If so, you may be able to skip the next steps if you're not sure you want to install external libraries. - Here is a guide to installing Python on multiple operating systems - http://docs.python-guide.org/en/latest/starting/installation/ ] --- ## Problems installing the software?
- Problems with software installation? Not enough time to do it? - We'll try to help before class. Come early! - **But buy a computer science club membership just in case!** --- name: inverse layout: true class: center, middle, inverse --- # Just for fun Try out a simplified unix command line terminal http://uni.xkcd.com/ --- # Ready? --- # Getting and munging data
Go to the first lesson!