p1-insta485-static

Operating System Tutorial

This document will guide you through setting up your computer for local development on OSX, Linux, and Windows 10.

OSX

If you run OSX, install the Homebrew package manager. Then, use Homebrew to install a few packages like Python3.

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install python3 git tree wget

If you run into Java problems when using html5validator, try installing the Java 8 JDK and JRE.

Then, create a folder.

Linux

These instructions work for Debian-based systems like Ubuntu.

$ sudo apt-get update
$ sudo apt-get install python3-venv python3-wheel python3-setuptools git tree
$ sudo apt-get install default-jre

Then, create a folder.

Windows

On Windows, we will use the Windows 10 Subsystem for Linux (WSL). The Windows Subsytem for Linux runs native Linux command-line tools directly on Windows.

Install the Windows Subsytem for Linux using the EECS 280 - Installing the Windows Subsystem for Linux (WSL) instructions.

Start a Bash shell (not a Windows PowerShell). You can now use Ubuntu Linux tools, including the apt-get package manager.

$ sudo apt-get update
$ sudo apt-get install python3-venv python3-wheel python3-setuptools git tree
$ sudo apt-get install default-jre

Then, create a folder.

Create a folder

Decide where to store your EECS 485 projects. For reference, here are some common locations. You might want to use your Desktop or Documents.

System Desktop Documents
macOS /Users/awdeorio/Desktop/ /Users/awdeorio/Documents/
Windows/WSL /mnt/c/Users/awdeorio/Desktop/ /mnt/c/Users/awdeorio/Documents/
Linux /home/awdeorio/Desktop/ /home/awdeorio/Documents/

Navigate to a directory where you will store your EECS 485 projects. (awdeorio likes to use a directory called src in his home directory.)

$ cd /Users/awdeorio/src/

WARNING Do not use file or directory names containing spaces. Spaces causes problems with some local tool installations.

List what’s in this directory. It looks like awdeorio has some old files from EECS 280 laying around.

$ ls
eecs280

Create a directory.

$ mkdir eecs485
$ ls
eecs280  eecs485

Change directory and create another directory for this project.

$ cd eecs485
$ mkdir p1-insta485-static
$ cd p1-insta485-static
$ pwd
/Users/awdeorio/src/eecs485/p1-insta485-static