{"id":29574,"date":"2019-02-04T14:51:01","date_gmt":"2019-02-04T20:51:01","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=29574"},"modified":"2022-12-09T04:57:19","modified_gmt":"2022-12-09T10:57:19","slug":"how-to-install-jupyter-on-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/","title":{"rendered":"How to Install Jupyter on Ubuntu 18.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"size-full wp-image-29637 alignnone\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg\" alt=\"Install Jupyter on Ubuntu\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p>Jupyter is a popular browser-based interactive notebook for programming, mathematics, and data science. It is a web application that allows us to create and share documents that contain live code, equations, visualizations, and narrative text. It supports a number of languages via plugins (&#8220;kernels&#8221;), such as Python, Ruby, Haskell, R, Scala, and Julia. In this tutorial, we will show you how to install Jupyter on Ubuntu 18.04 on one of our <a href=\"https:\/\/www.rosehosting.com\/vps-hosting.html\">Linux VPS hosting<\/a> services.<\/p>\n<p><!--more--><\/p>\n<p>Some of the main features of the Jupyter Notebook web application are:<\/p>\n<ul>\n<li>In-browser code editing with automatic syntax highlighting, indentation, and tab completion\/introspection.<\/li>\n<li>Easily execute code from your favorite web browser<\/li>\n<li>Displaying the result of computation using rich media representations, such as HTML, LaTeX, PNG, SVG, etc. For example, publication-quality figures rendered by the matplotlib library can be included inline.<\/li>\n<li>In-browser editing for rich text using the Markdown markup language, which can provide commentary for the code, is not limited to plain text.<\/li>\n<li>The ability to easily include mathematical notation within markdown cells using LaTeX, and rendered natively by MathJax.<\/li>\n<\/ul>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e4cef87afde\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e4cef87afde\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#Prerequisites\" >Prerequisites:<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#1-Log-in-via-SSH-and-Update-the-System\" >1. Log in via SSH and Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#2-Create-a-Python-Virtual-Environment-for-Jupyter\" >2. Create a Python Virtual Environment for Jupyter<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#3-Install-Jupyter-Notebook\" >3. Install Jupyter Notebook<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#4-Run-Jupyter-Notebook\" >4. Run Jupyter Notebook<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#5-Configure-Jupyter-Notebook-to-Run-as-a-Service\" >5. Configure Jupyter Notebook to Run as a Service<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#6-Install-Nginx-Web-Server-and-Configure-Reverse-Proxy\" >6. Install Nginx Web Server and Configure Reverse Proxy<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<ul>\n<li>Ubuntu 18.04 with 2GB of memory or higher<\/li>\n<li>Python 3<\/li>\n<li>Nginx<\/li>\n<li>SSH access with root privileges<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"1-Log-in-via-SSH-and-Update-the-System\"><\/span>1. Log in via SSH and Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Log in to your Ubuntu 18.04 VPS with SSH as the root user:<\/p>\n<pre># ssh root@IP_Address -p Port_number<\/pre>\n<p>You can check whether you have the proper Ubuntu version installed on your server with the following command:<\/p>\n<pre>lsb_release -a<\/pre>\n<p>You should get this output:<\/p>\n<pre>Distributor ID: Ubuntu\r\nDescription: Ubuntu 18.04.1 LTS\r\nRelease: 18.04\r\nCodename: bionic\r\n<\/pre>\n<p>Then, run the following command to make sure that all installed packages on the server are updated to the latest available version:<\/p>\n<pre># apt update &amp;&amp; apt upgrade<\/pre>\n<p>Let&#8217;s create a sudoer to install Jupyter notebook, follow the prompts and use a strong password for the user.<\/p>\n<pre># adduser jupyter<\/pre>\n<p>Now, let&#8217;s add the new user to the sudo group:<\/p>\n<pre># usermod -aG sudo jupyter<\/pre>\n<p>Once added, we can log in as jupyter and do the installation:<\/p>\n<pre>su - jupyter<\/pre>\n<pre>$ sudo apt install python3-pip python3-dev<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"2-Create-a-Python-Virtual-Environment-for-Jupyter\"><\/span>2. Create a Python Virtual Environment for Jupyter<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>$ virtualenv jnotebook<\/pre>\n<pre>$ source jnotebook\/bin\/activate<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-29617\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/activate_virtualenv.png\" alt=\"\" width=\"553\" height=\"139\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/activate_virtualenv.png 553w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/activate_virtualenv-150x38.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/activate_virtualenv-300x75.png 300w\" sizes=\"(max-width: 553px) 100vw, 553px\" \/><\/p>\n<p>Now, you are in the Python virtual environment and you are ready to install Jupyter Notebook.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"3-Install-Jupyter-Notebook\"><\/span>3. Install Jupyter Notebook<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre>(jnotebook) jupyter@ubuntu-jan2019:~$ pip instal jupyter<\/pre>\n<p><strong>NOTE:\u00a0<\/strong>Pay attention to the command, even if we are using Python 3, when in the Python virtual environment, please use &#8216;pip&#8217; command instead of &#8216;pip3&#8217;. This is because the virtual environment tool is always named pip, regardless of the Python version we use.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"4-Run-Jupyter-Notebook\"><\/span>4. Run Jupyter Notebook<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>It&#8217;s done! You can now run the Jupyter Notebook. To actually start (run) it, enter the following command:<\/p>\n<pre>(jnotebook) jupyter@ubuntu-jan2019:~$ jupyter notebook<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-29618\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/run_jupyter_notebook.png\" alt=\"\" width=\"1115\" height=\"219\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/run_jupyter_notebook.png 1115w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/run_jupyter_notebook-150x29.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/run_jupyter_notebook-300x59.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/run_jupyter_notebook-768x151.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/run_jupyter_notebook-1024x201.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/run_jupyter_notebook-1080x212.png 1080w\" sizes=\"(max-width: 1115px) 100vw, 1115px\" \/><\/p>\n<p>By default, Jupyter Notebook is configured to run on localhost and port 8888. To start it on a specific IP address, you can run this command:<\/p>\n<pre>(jnotebook) jupyter@ubuntu-jan2019:~$ jupyter notebook --ip='1.2.3.4'<\/pre>\n<p>Change 1.2.3.4 to your server&#8217;s IP address.<\/p>\n<p>Using your favorite web browser, you can navigate to the link provided when running Jupyter.<\/p>\n<p>At this point, you are accessing Jupyter Notebook using the token. As of Notebook version 5.3, we can create a password through the web interface or the command line.<\/p>\n<p>Before creating a password, we need to generate the configuration file first, we can run this command:<\/p>\n<pre>(jnotebook) jupyter@ubuntu-jan2019:~$ jupyter notebook --generage-config<\/pre>\n<p>The command above will create a jupyter_notebook_config.py file. In this tutorial, the file is saved as \/home\/jupyter\/.jupyter\/jupyter_notebook_config.py<br \/>\nThe ability to create a password during the first login might be disabled, you need to enable it by editing \/home\/jupyter\/.jupyter\/jupyter_notebook_config.py. Go to line 68 and edit &#8220;NotebookApp.allow_password_change&#8221;. Change the value from False to True, and don&#8217;t forget to uncomment the line. Then, save the file.<\/p>\n<p>Now, we can run the following command to create a password, then run Jupyter Notebook again.<\/p>\n<pre>(jnotebook) jupyter@ubuntu-jan2019:~$ jupyter notebook password<\/pre>\n<pre>(jnotebook) jupyter@ubuntu-jan2019:~$ jupyter notebook --ip='1.2.3.4'<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-29619\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_first.png\" alt=\"\" width=\"731\" height=\"697\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_first.png 731w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_first-150x143.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_first-300x286.png 300w\" sizes=\"(max-width: 731px) 100vw, 731px\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"5-Configure-Jupyter-Notebook-to-Run-as-a-Service\"><\/span>5. Configure Jupyter Notebook to Run as a Service<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>If we run the &#8216;Jupyter notebook&#8217; command in SSH, the application will be closed when we are disconnected from the SSH session.<br \/>\nTo avoid this, we can run the command in a screen session or create a systemd file. In this tutorial, we will create a systemd file, so we can run the Jupyter notebook as a service.<\/p>\n<pre>$ sudo nano \/etc\/systemd\/system\/jupyter.service<\/pre>\n<p>Then paste the following lines to it, then save the file:<\/p>\n<pre>[Unit]\r\nDescription=Jupyter Notebook\r\n\r\n[Service]\r\nType=simple\r\nPIDFile=\/run\/jupyter.pid\r\nExecStart=\/home\/jupyter\/jupyter\/bin\/jupyter-notebook --config=\/home\/jupyter\/.jupyter\/jupyter_notebook_config.py\r\nUser=jupyter\r\nGroup=jupyter\r\nWorkingDirectory=\/home\/jupyter\/jnotebook\r\nRestart=always\r\nRestartSec=10\r\n\r\n[Install]\r\nWantedBy=multi-user.target<\/pre>\n<p>Once saved, we need to enable and start the service.<\/p>\n<pre>$ sudo systemctl daemon-reload\r\n\r\n$ sudo systemctl enable jupyter\r\n\r\n$ sudo systemctl start jupyter<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"6-Install-Nginx-Web-Server-and-Configure-Reverse-Proxy\"><\/span>6. Install Nginx Web Server and Configure Reverse Proxy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Now, Jupyter Notebook is listening only on localhost. To be able to access it using your domain or subdomain, and without typing the port number in your web browser, we need to configure Nginx as a reverse proxy.<\/p>\n<pre>$ sudo nano \/etc\/nginx\/sites-enabled\/yourdomain.com.conf<\/pre>\n<p>Insert the following lines into the file. Change &#8216;yourdomain.com&#8217; to your actual domain name that you want to use to access Jupyter Notebook:<\/p>\n<pre>upstream jupyter {\r\nserver 127.0.0.1:8888;\r\n}\r\n\r\nserver {\r\nlisten 80 default;\r\nserver_name yourdomain.com;\r\n\r\naccess_log \/var\/log\/nginx\/yourdomain.com.access.log;\r\nerror_log \/var\/log\/nginx\/yourdomain.com.error.log;\r\n\r\nlocation \/ {\r\n     proxy_pass http:\/\/localhost:8888;\r\n     proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\r\n     proxy_set_header X-Real-IP $remote_addr;\r\n     proxy_set_header Host $http_host;\r\n     proxy_http_version 1.1;\r\n     proxy_redirect off;\r\n     proxy_buffering off;\r\n     proxy_set_header Upgrade $http_upgrade;\r\n     proxy_set_header Connection \"upgrade\";\r\n     proxy_read_timeout 86400;\r\n     }\r\n}<\/pre>\n<p>Don&#8217;t forget to save the newly created configuration file.<\/p>\n<p>Check the Nginx configuration and if everything is okay, restart it.<\/p>\n<pre>$ sudo nginx -t\r\n$ sudo systemctl restart nginx<\/pre>\n<p>Now, we need to edit the Jupyter configuration file to enable us to access it using Nginx as a reverse proxy.<\/p>\n<pre>$ sudo nano \/home\/jupyter\/.jupyter\/jupyter_notebook_config.py<\/pre>\n<p>Go find &#8220;NotebookApp.allow_remote_access&#8221; and change the value from False to True. Don&#8217;t forget to uncomment the line.<\/p>\n<p>Then, restart Jupyter:<\/p>\n<pre>$ sudo systemctl restart jupyter<\/pre>\n<p>At this point, you should be able to access Jupyter with your domain name at http:\/\/yourdomain.com. For more information about Jupyter, its features, and configuration, please check their official documentation.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-29620\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_token.png\" alt=\"\" width=\"1087\" height=\"197\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_token.png 1087w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_token-150x27.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_token-300x54.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_token-768x139.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_token-1024x186.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/jupyter_notebook_token-1080x196.png 1080w\" sizes=\"(max-width: 1087px) 100vw, 1087px\" \/><\/p>\n<hr \/>\n<p>Of course, you don\u2019t have to know how to install Jupyter on Ubuntu 18.04 if you have <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Managed Ubuntu VPS Hosting<\/a> with us. You can simply ask our support team to install Jupyter 10 on Ubuntu 18.04 for you. They are available 24\/7 and will be able to help you with the installation of Jupyter 10 on Ubuntu 18.04.<\/p>\n<p>In case you&#8217;ve switched to Ubuntu 20.04 already, we have the perfect tutorial on <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-notebook-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noopener\">how to install Jupyter Notebook on Ubuntu 20.04.<\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. If you enjoy reading this blog post on <strong>how to install Jupyter on Ubuntu 18.04<\/strong>, feel free to share it on social networks using the shortcuts below, or simply leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jupyter is a popular browser-based interactive notebook for programming, mathematics, and data science. It is a web application that allows &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Jupyter on Ubuntu 18.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#more-29574\" aria-label=\"Read more about How to Install Jupyter on Ubuntu 18.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":29637,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[1503,59],"class_list":["post-29574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-jupyter","tag-ubuntu","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Jupyter Notebook on Ubuntu 18.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to configure, set up, and install Jupyter Notebook on Ubuntu 18.04 using this detailed, step-by-step tutorial.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Jupyter on Ubuntu 18.04\" \/>\n<meta property=\"og:description\" content=\"How to Install Jupyter on Ubuntu 18.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-04T20:51:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-09T10:57:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Jupyter on Ubuntu 18.04\",\"datePublished\":\"2019-02-04T20:51:01+00:00\",\"dateModified\":\"2022-12-09T10:57:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/\"},\"wordCount\":946,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/install-jupyter-ubuntu18.jpg\",\"keywords\":[\"jupyter\",\"ubuntu\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/\",\"name\":\"How to Install Jupyter Notebook on Ubuntu 18.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/install-jupyter-ubuntu18.jpg\",\"datePublished\":\"2019-02-04T20:51:01+00:00\",\"dateModified\":\"2022-12-09T10:57:19+00:00\",\"description\":\"Learn how to configure, set up, and install Jupyter Notebook on Ubuntu 18.04 using this detailed, step-by-step tutorial.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/install-jupyter-ubuntu18.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/01\\\/install-jupyter-ubuntu18.jpg\",\"width\":742,\"height\":372,\"caption\":\"Install Jupyter on Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-jupyter-on-ubuntu-18-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Jupyter on Ubuntu 18.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Jupyter Notebook on Ubuntu 18.04 | RoseHosting","description":"Learn how to configure, set up, and install Jupyter Notebook on Ubuntu 18.04 using this detailed, step-by-step tutorial.","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:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Jupyter on Ubuntu 18.04","og_description":"How to Install Jupyter on Ubuntu 18.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2019-02-04T20:51:01+00:00","article_modified_time":"2022-12-09T10:57:19+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Jupyter on Ubuntu 18.04","datePublished":"2019-02-04T20:51:01+00:00","dateModified":"2022-12-09T10:57:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/"},"wordCount":946,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg","keywords":["jupyter","ubuntu"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/","name":"How to Install Jupyter Notebook on Ubuntu 18.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg","datePublished":"2019-02-04T20:51:01+00:00","dateModified":"2022-12-09T10:57:19+00:00","description":"Learn how to configure, set up, and install Jupyter Notebook on Ubuntu 18.04 using this detailed, step-by-step tutorial.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2019\/01\/install-jupyter-ubuntu18.jpg","width":742,"height":372,"caption":"Install Jupyter on Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-jupyter-on-ubuntu-18-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Jupyter on Ubuntu 18.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/29574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=29574"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/29574\/revisions"}],"predecessor-version":[{"id":43920,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/29574\/revisions\/43920"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/29637"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=29574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=29574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=29574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}