title: Error while installing Spark on Google Colab
body: <p>I am getting error while installing spark on Google Colab. It says </p>
  
  <blockquote>
    <p>tar: spark-2.2.1-bin-hadoop2.7.tgz: Cannot open: No such file or directory tar: 
    Error is not recoverable: exiting now.</p>
  </blockquote>
  
  <p>These were my steps</p>
  
  <ul>
  <li>!apt-get install openjdk-8-jdk-headless -qq > /dev/null</li>
  <li>!wget -q <a href="http://apache.osuosl.org/spark/spark-2.2.1/spark-2.2.1-bin-hadoop2.7.tgz" rel="noreferrer">http://apache.osuosl.org/spark/spark-2.2.1/spark-2.2.1-bin-hadoop2.7.tgz</a></li>
  <li>!tar xf spark-2.2.1-bin-hadoop2.7.tgz</li>
  <li>!pip install -q findspark</li>
  </ul>
  
  <p><a href="https://i.stack.imgur.com/JmFeN.png" rel="noreferrer">enter image description here</a></p>