Skip to content

Installation of prerequisites

Matko Bosnjak edited this page Oct 15, 2015 · 11 revisions

To run the stat-nlp-book, you will need to have the following programs/environments installed:

Git version control system
  • Download here
  • Installation instructions here

Though we find the git command line the optimal choice, you might want to use a client like GitHub Desktop

Java Development Kit (JDK)
  • Download here
  • Installation instructions here
Maven
  • If you use Mac OS with homebrew simply do brew install maven
  • If you use Windows, you might want to follow these instructions
  • Otherwise, follow installation instructions here
Scala programming language
  • Download: here
  • Installation instructions: here
SBT
  • Installation instructions here
  • If you get out of memory errors when compiling the stat-nlp-book, increase the sbt heap size as instructed here
IntelliJ IDEA IDE
  • Download here
  • Installation instructions here
  • IMPORTANT: Install Scala plugin, partial instructions given here. On Mac (similar conditions on Windows) machines you can do the following: Click on: IntelliJ IDEA -> Preferences… -> Plugins -> Install JetBrains plugin... Then search for Scala, select it and click on Install Plugin. After installing it, close the settings, and restart IntelliJ.
  • Make sure you are able to run a toy Scala project in IntelliJ as instructed here
Setting up Paths
  • If you downloaded binaries, make sure to set up a path to them so that you can run scala, git, mvn etc. from anywhere on your machine. To do this follow the instructions here, but adapt depending on where you put scala, git, mvn etc.