

{"id":22,"date":"2016-05-31T09:51:22","date_gmt":"2016-05-31T09:51:22","guid":{"rendered":"http:\/\/data-flair.training\/blogs\/?p=22"},"modified":"2019-11-26T17:45:53","modified_gmt":"2019-11-26T12:15:53","slug":"install-spark-ubuntu","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/","title":{"rendered":"Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:2388,&quot;href&quot;:&quot;http:\\\/\\\/spark.apache.org\\\/downloads.html&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251002061320\\\/https:\\\/\\\/spark.apache.org\\\/downloads.html&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-11 06:24:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-14 12:45:47&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-17 14:56:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-20 17:30:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-24 01:45:37&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-28 14:19:37&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-31 16:26:03&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-03 20:08:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-08 10:52:02&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-12 10:09:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-16 05:10:09&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-20 15:18:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-25 15:24:13&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-28 19:02:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-01 16:32:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-04 20:39:53&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-09 05:16:29&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-15 16:28:54&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-19 01:33:29&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-22 13:56:19&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-26 05:32:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-01 16:50:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-07 11:04:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-10 16:43:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-14 14:57:14&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-17 19:00:12&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-21 04:25:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-25 04:38:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-29 22:34:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-03 01:24:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-06 08:37:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-09 21:32:41&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-14 06:19:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-17 23:59:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-21 13:40:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-25 20:16:56&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-29 12:41:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-04 19:02:08&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-11 11:33:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-14 12:36:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-20 13:41:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-24 23:44:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-28 06:34:34&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-01 10:54:32&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-04 16:54:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-09 09:05:53&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-09 09:05:53&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:2488,&quot;href&quot;:&quot;http:\\\/\\\/mirror.fibergrid.in\\\/apache\\\/spark\\\/spark-1.6.1\\\/spark-1.6.1-bin-hadoop2.6.tgz&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:1357,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Apache_Spark&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250922221612\\\/https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Apache_Spark&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-09 05:27:27&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-12 10:08:16&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-15 10:54:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-18 15:58:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-21 22:36:30&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-25 05:31:45&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-28 12:45:42&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-31 14:24:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-03 17:46:17&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-07 06:00:10&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-10 18:44:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-14 03:23:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-17 07:55:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-20 08:53:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-23 13:06:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-26 19:31:27&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-30 03:59:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-02 04:29:15&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-05 06:45:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-08 15:14:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-11 17:11:37&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-14 17:21:25&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 19:54:27&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-21 15:31:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-24 16:57:05&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-02-27 17:43:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-02 18:00:05&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-06 08:59:01&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-09 10:45:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-12 12:05:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-15 13:52:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-18 16:22:15&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-22 02:26:17&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-25 06:42:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-28 13:17:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-31 19:34:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 21:06:08&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-07 13:23:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-10 15:12:24&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-14 01:00:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 15:03:23&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-04-20 17:12:48&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-04-23 18:14:30&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-04-26 23:59:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-30 03:29:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-03 03:48:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-06 06:11:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-09 10:25:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-12 12:20:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-15 15:48:18&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-19 00:06:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-22 12:24:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-25 12:59:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-28 18:04:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-01 07:34:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-04 09:52:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-07 13:28:25&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-10 15:46:34&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-10 15:46:34&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<h2>1. Objective &#8211; Install Spark<\/h2>\n<p>This tutorial describes the first step while <strong>learning Apache Spark<\/strong> i.e. install Spark on Ubuntu. This Apache Spark tutorial is a step by step guide for Installation of Spark, the configuration of pre-requisites and launches Spark shell to perform various operations. If you are completely new to Apache Spark, I would recommend you to read these introductory blogs- <a href=\"http:\/\/data-flair.training\/blogs\/introduction-spark-tutorial-quickstart\/\">What is Spark<\/a>, <a href=\"http:\/\/data-flair.training\/blogs\/apache-spark-ecosystem-components\/\">Spark ecosystem<\/a>, Spark key abstraction <a href=\"http:\/\/data-flair.training\/blogs\/rdd-in-apache-spark\/\">RDD<\/a>, <a href=\"http:\/\/data-flair.training\/blogs\/apache-spark-features\/\">Spark features<\/a>, and<a href=\"http:\/\/data-flair.training\/blogs\/limitations-of-apache-spark-overcome-spark-drawbacks\/\"> limitations of Apache Spark<\/a>.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-73231 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg\" alt=\"Apache Spark installation on ubuntu\" width=\"802\" height=\"420\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg 802w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1-520x272.jpg 520w\" sizes=\"auto, (max-width: 802px) 100vw, 802px\" \/><\/a><\/p>\n<h2>2. Steps for Apache Spark Installation On Ubuntu<\/h2>\n<p>Follow the steps given below for Apache Spark Installation On Ubuntu-<\/p>\n<h3>i. Deployment Platform<\/h3>\n<p><strong>a. Platform Requirements<\/strong><\/p>\n<ul>\n<li><strong>Operating System:<\/strong> You can use Ubuntu 14.04 or later (other Linux flavors can also be used like CentOS, Redhat, etc.)<\/li>\n<li><strong>Spark:<\/strong> Apache Spark 1.6.1 or later<\/li>\n<\/ul>\n<p><strong>b. Setup Platform<\/strong><\/p>\n<p>If you are using Windows \/ Mac OS you can <a href=\"http:\/\/data-flair.training\/blogs\/install-ubuntu-vmware-player\/\" target=\"_blank\" rel=\"noopener noreferrer\">create a virtual machine and install Ubuntu using VMWare Player<\/a>, alternatively, you can <a href=\"http:\/\/data-flair.training\/blogs\/step-by-step-installation-of-ubuntu-on-virtual-box\/\" target=\"_blank\" rel=\"noopener noreferrer\">create a virtual machine and install Ubuntu using Oracle Virtual Box<\/a>.<\/p>\n<h3>ii. Prerequisites<\/h3>\n<p><strong>a. Install Java 7<\/strong><\/p>\n<p><strong>Install Python Software Properties<\/strong><\/p>\n<p>[php]$sudo apt-get install python-software-properties[\/php]<\/p>\n<p><strong>Add Repository<\/strong><\/p>\n<p>[php]$sudo add-apt-repository ppa:webupd8team\/java[\/php]<\/p>\n<p><strong>Update the source list<\/strong><\/p>\n<p>[php]$sudo apt-get update[\/php]<\/p>\n<p><strong>Install Java<\/strong><\/p>\n<p>[php]$sudo apt-get install oracle-java7-installer[\/php]<\/p>\n<h3>iii. Install Apache Spark<\/h3>\n<p><strong>a. Download Spark<\/strong><\/p>\n<p>You can download Apache Spark from the below link. In the package type please select \u201cPre-built for Hadoop 2.6 and Later\u201d<\/p>\n<p><strong><a href=\"http:\/\/spark.apache.org\/downloads.html\">http:\/\/spark.apache.org\/downloads.html<\/a><\/strong><\/p>\n<p>Or, you can use direct download link:<\/p>\n<p><strong><a href=\"http:\/\/mirror.fibergrid.in\/apache\/spark\/spark-1.6.1\/spark-1.6.1-bin-hadoop2.6.tgz\">http:\/\/mirror.fibergrid.in\/apache\/spark\/spark-1.6.1\/spark-1.6.1-bin-hadoop2.6.tgz<\/a><\/strong><\/p>\n<p><strong>b. Untar Spark Setup<\/strong><\/p>\n<p>[php]$tar xzf spark-1.6.1-bin-hadoop2.6.tgz[\/php]<\/p>\n<p>You can find all the scripts and configuration files in the newly created directory \u201cspark-1.6.1-bin-hadoop2.6\u201d<\/p>\n<p><strong>c. Setup Configuration<\/strong><\/p>\n<p><strong>Edit .bashrc<\/strong><\/p>\n<p>Edit .bashrc file located in the user\u2019s home directory and add following parameters-<\/p>\n<p>[php]export JAVA_HOME=&lt;path-to-the-root-of-your-Java-installation&gt; (eg: \/usr\/lib\/jvm\/java-7-oracle\/)<\/p>\n<p>export SPARK_HOME=&lt;path-to-the-root-of-your-spark-installation&gt; (eg: \/home\/dataflair\/spark-1.6.1-bin-hadoop2.6\/)[\/php]<\/p>\n<h3>iv. Launch the Spark Shell<\/h3>\n<p>Go to Spark home directory (spark-1.6.1-bin-hadoop2.6) and run below command to start Spark Shell<\/p>\n<p>[php]$bin\/spark-shell.sh[\/php]<\/p>\n<p><em>Spark shell is launched, now you can play with Spark<\/em><\/p>\n<p><strong>a. Spark UI<\/strong><\/p>\n<p>This is the GUI for Spark Application, in local mode spark shell runs as an application. The GUI provide details about stages, storage (cached RDDs), Environment Variables and executors<\/p>\n<p>[php]http:\/\/localhost:4040[\/php]<\/p>\n<h3>v. Spark Commands \/ Operations<\/h3>\n<p>Once you installed Apache Spark, you can play with spark shell to perform the various operation like <strong><a href=\"http:\/\/data-flair.training\/blogs\/rdd-transformations-actions-apis-apache-spark\/\">transformation and action<\/a><\/strong>, the <strong><a href=\"http:\/\/data-flair.training\/blogs\/important-apache-spark-terminologies-and-concepts-you-must-know\/\">creation of RDDs<\/a>.<\/strong>\u00a0Follow this guide\u00a0for <strong><a href=\"http:\/\/data-flair.training\/blogs\/apache-spark-beginners-guide\/\">Shell Commands<\/a><\/strong> to working with Spark.<\/p>\n<p>So, this was all in the tutorial on how to install Spark in Ubuntu. hope you understand the complete process.<\/p>\n<h2>3. Conclusion &#8211; Spark installation<\/h2>\n<p>Hence, in this Spark installation tutorial, we discussed the steps to install Spark on Ubuntu. Still, if you are facing any problem, feel free to ask in the comment tab.<\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Apache_Spark\"><strong>Reference for Spark<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Objective &#8211; Install Spark This tutorial describes the first step while learning Apache Spark i.e. install Spark on Ubuntu. This Apache Spark tutorial is a step by step guide for Installation of Spark,&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":73231,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[896,1907,6796,16621,13021,13022,13139,13142],"class_list":["post-22","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spark","tag-apache-spark","tag-big-data","tag-install-spark","tag-install-spark-on-ubuntu","tag-spark","tag-spark-scala","tag-spark-training","tag-spark-tutorial"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark - DataFlair<\/title>\n<meta name=\"description\" content=\"Install Spark, Apache Spark Installation On Ubuntu, What is Apache Spark, Why Spark, What is RDD in Spark, Spark features, creating RDD &amp; Spark limitations\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Install Spark, Apache Spark Installation On Ubuntu, What is Apache Spark, Why Spark, What is RDD in Spark, Spark features, creating RDD &amp; Spark limitations\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-05-31T09:51:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-11-26T12:15:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark - DataFlair","description":"Install Spark, Apache Spark Installation On Ubuntu, What is Apache Spark, Why Spark, What is RDD in Spark, Spark features, creating RDD & Spark limitations","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark - DataFlair","og_description":"Install Spark, Apache Spark Installation On Ubuntu, What is Apache Spark, Why Spark, What is RDD in Spark, Spark features, creating RDD & Spark limitations","og_url":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2016-05-31T09:51:22+00:00","article_modified_time":"2019-11-26T12:15:53+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark","datePublished":"2016-05-31T09:51:22+00:00","dateModified":"2019-11-26T12:15:53+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/"},"wordCount":503,"commentCount":12,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg","keywords":["apache spark","big data","install spark","Install Spark on Ubuntu","Spark","spark &amp; Scala","spark training","spark tutorial"],"articleSection":["Apache Spark Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/","url":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/","name":"Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg","datePublished":"2016-05-31T09:51:22+00:00","dateModified":"2019-11-26T12:15:53+00:00","description":"Install Spark, Apache Spark Installation On Ubuntu, What is Apache Spark, Why Spark, What is RDD in Spark, Spark features, creating RDD & Spark limitations","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/05\/Apache-Spark-installation-on-ubuntu-1.jpg","width":802,"height":420,"caption":"Apache Spark installation on ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/install-spark-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Apache Spark Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/spark\/"},{"@type":"ListItem","position":3,"name":"Install Spark On Ubuntu- A Beginners Tutorial for Apache Spark"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/22","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"predecessor-version":[{"id":73232,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/22\/revisions\/73232"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/73231"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}