title: How do I make packages available to the Scala REPL?
body: <p>I'm trying to get familiar with Scala. I am using macOS.</p>
  
  <p>I've installed scala using <code>brew install scala</code> which is hassle-free and once complete I can launch the scala REPL simply by issuing <code>scala</code> and I'm at the <code>scala&gt;</code> prompt.<br>
  I now want to import some packages, so I try:</p>
  
  <pre><code>import org.apache.spark.sql.Column
  </code></pre>
  
  <p>and unsurprisingly it fails with </p>
  
  <blockquote>
    <p>error: object apache is not a member of package org  </p>
  </blockquote>
  
  <p>This makes sense, how would it know where to get that package from? Thing is, I don't know what I need to do to make that package available. Is there anything I can do from the command-line that would allow me to <code>import org.apache.spark.sql.Column</code>?</p>
  
  <p>I have googled around a little but not found anything that explains in a jargon-free way. Complete Scala noob here so jargon-free responses would be appreciated.</p>