{"id":1656,"date":"2021-12-16T12:51:40","date_gmt":"2021-12-16T09:51:40","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/03\/25\/how-to-install-anaconda-on-ubuntu\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/03\/25\/how-to-install-anaconda-on-ubuntu\/"},"modified":"2021-12-16T12:51:40","modified_gmt":"2021-12-16T09:51:40","slug":"how-to-install-anaconda-on-ubuntu","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1656-how-to-install-anaconda-on-ubuntu\/","title":{"rendered":"How to install Anaconda on Ubuntu"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Anaconda is a Python-based data science platform. It comes in various editions, is open source, and installable on most Linux operating systems. In this guide, we\u2019ll show you how to get Anaconda up and running on Ubuntu.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-397926 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu.png\" alt=\"install Anaconda on Ubuntu\" width=\"1200\" height=\"642\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-4.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-7.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-9.png 768w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-11.png 320w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<h2>Before we begin<\/h2>\n<p>In this guide, we\u2019re focusing on how to build and install Anaconda for Ubuntu. That said, if you use Elementary OS, Peppermint OS, Zorin OS, Linux Mint, or any other operating systems based on Ubuntu, the instructions will work as well.<\/p>\n<p>So even if you\u2019re not on traditional Ubuntu, feel free to follow along to get the Anaconda app working on your Linux system!<\/p>\n<h2>Install Anaconda on Ubuntu \u2013 preparing the installation<\/h2>\n<p>Anaconda does work on Ubuntu, but there aren\u2019t any pre-compiled DEB packages, and the app hasn\u2019t made its way into the Ubuntu Snap store or Flathub Flatpak store. If you plan to use this app, you must build it yourself.<\/p>\n<p>Building the Anaconda software isn\u2019t too tricky, as most of it is taken care of by an installation script. The first step in the building process is to install all of the dependencies that the script needs to build the software.<\/p>\n<p>To start the installation of Anaconda dependencies on your Ubuntu PC, open up a terminal window. To open up a terminal window, press\u00a0<strong>Ctrl + Alt + T\u00a0<\/strong>on the keyboard or search for \u201cTerminal\u201d in the app menu.<\/p>\n<p>Once the terminal window is open, use the\u00a0<strong>apt install\u00a0<\/strong>command below to get all of the dependencies set up on your system. Remember that these packages may take a couple of minutes to set up, as there is a lot to download.<\/p>\n<pre>\nsudo apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6\n<\/pre>\n<p>After getting all the dependencies taken care of, it is time to download the installation script. The script is hosted on Anaconda\u2019s repo site. Using the\u00a0<strong>wget\u00a0<\/strong>downloader command below, grab the install script.<\/p>\n<p>Note: if you wish to download the latest installation script to your Linux PC via a web browser instead of\u00a0<strong>wget<\/strong>, you can! Click on this link here to start the download.<\/p>\n<pre>\nwget https:\/\/repo.anaconda.com\/archive\/Anaconda3-2020.11-Linux-x86_64.sh -O ~\/Downloads\/Anaconda3-2020.11-Linux-x86_64.sh\n<\/pre>\n<p>When the download process is complete, you will need to enter the \u201cDownloads\u201d directory. This directory holds the installation script. To access \u201cDownloads\u201d via terminal, enter the following\u00a0<strong>CD\u00a0<\/strong>command.<\/p>\n<pre>\ncd ~\/Downloads\n<\/pre>\n<p>Inside the \u201cDownloads\u201d directory, use the <strong>chmod\u00a0<\/strong>command to update the installation script\u2019s permissions. This script must have permissions changed so that it can execute as a program.<\/p>\n<pre>\nsudo chmod +x Anaconda3-2020.11-Linux-x86_64.sh\n<\/pre>\n<p>With the file\u2019s permissions up to date, preparation for the installation of Anaconda on your Ubuntu PC is ready to go! Move on to the next section of the guide to get the app installed!<\/p>\n<h2>Install Anaconda on Ubuntu \u2013 Running the installation script<\/h2>\n<p>The installation of Anaconda on Ubuntu can begin as the installation script is downloaded and the permissions are set. To start the installation, execute the\u00a0<strong>.\/Anaconda3-2020.11-Linux-x86_64.sh\u00a0<\/strong>command below.\u00a0<\/p>\n<p>To start the installation of Anaconda on Ubuntu as your user account (non-root), run the installation without the\u00a0<strong>sudo\u00a0<\/strong>command. We highly recommend installing the app in this way.<\/p>\n<pre>\n.\/Anaconda3-2020.11-Linux-x86_64.sh\n<\/pre>\n<p>If you prefer to install Anaconda as root on your Ubuntu PC, execute the\u00a0<strong>.\/Anaconda3-2020.11-Linux-x86_64.sh\u00a0<\/strong>script with the\u00a0<strong>sudo\u00a0<\/strong>command, and Anaconda will install itself into <code>\/root\/<\/code> rather than your home folder.<\/p>\n<pre>\nsudo .\/Anaconda3-2020.11-Linux-x86_64.sh\n<\/pre>\n<p>Once the script is started up, you\u2019ll see a message. This message says, \u201cIn order to continue the installation process, please review the license<br \/>agreement. Please, press ENTER to continue\u201d. Press the\u00a0<strong>Enter\u00a0<\/strong>key to continue to the EULA.<\/p>\n<p>After pressing the\u00a0<strong>Enter\u00a0<\/strong>key, you\u2019ll be required to view the EULA. To get through it, press the <strong>Page Down\u00a0<\/strong>key on your keyboard. Once you\u2019ve read the agreement, type out \u201cyes\u201d in the prompt.<\/p>\n<p>When \u201cyes\u201d is typed into the prompt, the Anaconda installer will ask where you want to install the app. By default, it will select the home directory. Leave it as the default and press the\u00a0<strong>Enter\u00a0<\/strong>key to continue on.<\/p>\n<p>Once you press the\u00a0<strong>Enter\u00a0<\/strong>key, the Anaconda installation script will begin installing the app to your system. It will install both the terminal application (conda) as well as the GUI application (Anaconda Navigator).<\/p>\n<p>When the installation is complete, the Anaconda installer will ask, \u201cDo you wish the installer to initialize Anaconda3 by running conda init? \u201c. If you would like to turn on Anaconda 3, type \u201cyes.\u201d Otherwise, close the terminal.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-397926 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu.png\" alt=\"\" width=\"1200\" height=\"642\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-4.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-7.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-9.png 768w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-11.png 320w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n<p>To start up the GUI Anaconda Navigator, open up a terminal by pressing <strong>Ctrl + Alt + T<\/strong><strong>\u00a0<\/strong>on the keyboard. Then, type out \u201canaconda-navigator\u201d to start up the app.\u00a0<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-397927 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-2.png\" alt=\"\" width=\"1200\" height=\"857\" srcset=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-2.png 1200w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-12.png 300w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-14.png 1024w, https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-install-anaconda-on-ubuntu-15.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Anaconda is a Python-based data science platform. It comes in various editions, is open source, and installable on most Linux operating systems. In this guide, we\u2019ll show you how to get Anaconda up and running on Ubuntu. Before we begin In this guide, we\u2019re focusing on how to build and install Anaconda for &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1657,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1656"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1656"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1656\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1657"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1656"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1656"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1656"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}