Difference between revisions of "Setup"

From CSE425S Wiki
Jump to navigation Jump to search
Line 46: Line 46:
 
==Language==
 
==Language==
 
===Mac OSX===
 
===Mac OSX===
 +
Nicely, Ruby ships with the Mac standard installation.  While it may not be the most up to date version, it may be the best option to simply use your default version: /usr/bin/ruby.
 +
 +
====Ruby Language With Tk====
 +
<nowiki>sudo gem install tk</nowiki>
 +
 +
====OS Gem====
 +
<nowiki>sudo gem install os</nowiki>
 +
 +
====PNG Gem====
 +
<nowiki>sudo gem install chunky_png</nowiki>
 +
 +
====Homebrew====
 +
[https://brew.sh/ Homebrew]
 +
 +
<nowiki>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" </nowiki>
 +
 +
====OpenGL====
 +
<nowiki>sudo brew install glfw</nowiki>
 +
 +
====OpenGL Gem====
 +
<nowiki>sudo gem install opengl-bindings</nowiki>
 +
 
<!--
 
<!--
====Default Installation====
+
 
Run RubyMine
 
Open Settings
 
Languages & Frameworks
 
Ruby SDK and Gems
 
/usr/bin/ruby
 
-->
 
====[https://courses.cs.washington.edu/courses/cse341/17sp/ruby.pdf A Path From UW That Has Worked]====
 
=====Install [https://brew.sh/ homebrew]=====
 
<nowiki>/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"</nowiki>
 
 
=====Install ActiveTcl 8.5=====
 
=====Install ActiveTcl 8.5=====
 
  [https://www.activestate.com/products/tcl/downloads/ Install ActiveTcl 8.5 (not 8.6) from www.activestate.com]
 
  [https://www.activestate.com/products/tcl/downloads/ Install ActiveTcl 8.5 (not 8.6) from www.activestate.com]
Line 67: Line 80:
 
=====Confirm Version=====
 
=====Confirm Version=====
 
  <nowiki>ruby --version</nowiki>
 
  <nowiki>ruby --version</nowiki>
 +
-->
  
 
===Windows===
 
===Windows===
 
====Suggested Path: [https://rubyinstaller.org/downloads/ Download From RubyInstaller]====
 
====Suggested Path: [https://rubyinstaller.org/downloads/ Download From RubyInstaller]====
 
[https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.6-1/rubyinstaller-devkit-2.6.6-1-x64.exe Ruby+Devkit 2.6.6-1 (x64)]
 
[https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.6.6-1/rubyinstaller-devkit-2.6.6-1-x64.exe Ruby+Devkit 2.6.6-1 (x64)]
====Alternate Path====
 
[https://rvm.io/rvm/install Install Ruby via RVM]
 
  
 
===Linux===
 
===Linux===
Line 86: Line 98:
 
  <nowiki>sudo apt-get install ruby-full</nowiki>
 
  <nowiki>sudo apt-get install ruby-full</nowiki>
  
  <nowiki>gem install tk -- --with-ActiveTcl</nowiki>
+
  <nowiki>sudo gem install tk -- --with-ActiveTcl</nowiki>
  
 
====OS Gem====
 
====OS Gem====
Line 102: Line 114:
  
 
====OpenGL Gem====
 
====OpenGL Gem====
  <nowiki>gem install opengl-bindings</nowiki>
+
  <nowiki>sudo gem install opengl-bindings</nowiki>
  
 
<!-- Does NOT seem to be required for Linux: gem install glfw3-->
 
<!-- Does NOT seem to be required for Linux: gem install glfw3-->
 
<!--
 
<!--
==OpenGL==
 
===Mac OSX===
 
<nowiki>brew install glfw</nowiki>
 
 
===Windows===
 
===Windows===
 
====Via Download====
 
====Via Download====
Line 132: Line 141:
 
gem install launchy
 
gem install launchy
 
gem install tk</nowiki>
 
gem install tk</nowiki>
 +
-->
 +
 +
<!--
 +
====Default Installation====
 +
Run RubyMine
 +
Open Settings
 +
Languages & Frameworks
 +
Ruby SDK and Gems
 +
/usr/bin/ruby
 
-->
 
-->
  

Revision as of 16:54, 6 November 2020

Coursera

JoinForFree.jpg
  • do what you need to do to join coursera (and log in, if necessary).
  • click on enroll for free
EnrollForFreeA.png
FullCourseNoCertificate.png

repeat for

ML

Language: Standard ML of New Jersey

Mac OSX

NOTE: recently, macOS 10.15 Catalina switched the default shell from bash to zsh. As a result, you may need to edit .zshenv instead of .bash_profile. You can alternatively switch your default shell in VS Code to bash.

via homebrew

Windows

download msi installation

Linux

via apt-get or yum

Editor

VS Code (Preferred)

Extensions.png

SearchStandardML.png

InstallStandardML.png

OpenFolder.png

or Sublime Text (Alternate)

Racket

Language and IDE

Ruby

Language

Mac OSX

Nicely, Ruby ships with the Mac standard installation. While it may not be the most up to date version, it may be the best option to simply use your default version: /usr/bin/ruby.

Ruby Language With Tk

sudo gem install tk

OS Gem

sudo gem install os

PNG Gem

sudo gem install chunky_png

Homebrew

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 

OpenGL

sudo brew install glfw

OpenGL Gem

sudo gem install opengl-bindings


Windows

Suggested Path: Download From RubyInstaller

Ruby+Devkit 2.6.6-1 (x64)

Linux

ActiveTcl

Note: you will need to create an account to download ActiveTcl 8.5.

Note: ActiveTcl 8.6 has be known to cause problems.

Download and Install ActiveTcl 8.5

Ruby Language With Tk

A path that has worked on Ubuntu 20.04:

sudo apt-get install ruby-full
sudo gem install tk -- --with-ActiveTcl

OS Gem

sudo gem install os

PNG Gem

sudo gem install chunky_png

OpenGL Runtime

sudo apt-get update
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt-get install libglfw3-dev

OpenGL Gem

sudo gem install opengl-bindings


IDE

Java

Language

  • Download JDK13
  • Install JDK13

IDE

Eclipse

  • Download Up To Date Version (2019‑12) of Eclipse
  • Install Eclipse (Select Eclipse IDE for Java Developers)

or IntelliJ

Git Repo

after you have cloned your git repo from bitbucket, be sure to import the pom.xml file in the top-level java folder.