Created
April 7, 2013 11:23
-
-
Save mattmcd/5330088 to your computer and use it in GitHub Desktop.
Shell history from installing Saddle: Scala Data Library http://saddle.github.io/
A couple of extra steps above the standard install were required in order to update my Java install to Java 7.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change location to where External Code is installed | |
cd ~/Work/ExternCode/ | |
# Install conscript, a tool for installing and updating Scala software | |
# programs. | |
curl https://raw.github.com/n8han/conscript/master/setup.sh > conscript_setup.sh | |
less conscript_setup.sh | |
chmod 755 conscript_setup.sh | |
./conscript_setup.sh | |
# Install giter8, a command line tool to apply templates defined on github. | |
cs n8han/giter8 | |
g8 | |
# Install sbt: the rebel cut | |
curl https://raw.github.com/paulp/sbt-extras/master/sbt > ~/bin/sbt | |
chmod +x ~/bin/sbt | |
# Clone the saddle repo | |
git clone [email protected]:saddle/saddle.git | |
cd saddle/ | |
# Use sbt to compile | |
sbt compile | |
# Compile failed due to Java 7 not being installed | |
# This mean that java.nio.file was not found | |
less src/main/scala/org/saddle/io/H5Store.scala | |
java -version | |
sudo update-alternatives --config java | |
sudo update-java-alternatives -l | |
sudo aptitude search openjdk | |
sudo apt-get install openjdk-7-jdk openjdk-7-jre openjdk-7-doc | |
# Select openjdk-7 | |
sudo update-alternatives --config java | |
# Fix compile | |
sbt clean | |
sbt compile | |
# Open a Scala REPL that calls saddle | |
sbt console |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment