{"id":1701,"date":"2023-09-04T06:44:49","date_gmt":"2023-09-04T06:44:49","guid":{"rendered":"https:\/\/www.dedicatedcore.com\/blog\/?p=1701"},"modified":"2024-10-16T05:20:09","modified_gmt":"2024-10-16T05:20:09","slug":"install-anaconda-ubuntu","status":"publish","type":"post","link":"https:\/\/www.dedicatedcore.com\/blog\/install-anaconda-ubuntu\/","title":{"rendered":"How to Install Anaconda on Ubuntu 18.04 | 22.04"},"content":{"rendered":"<p>Setting up Anaconda on Ubuntu 18.04 is a simple operation that gives you access to a robust Python development and data science environment. Anaconda is a well-liked option for data scientists, academics, and developers since it offers a practical means of managing packages, environments, and dependencies. Our Forex VPS trading strategies <a href=\"https:\/\/www.dedicatedcore.com\/forex-vps-trading\/\" target=\"_blank\" rel=\"noopener\">involve expert tech support<\/a> with server hosting that helps to solve any issues.<\/p>\n<p>You may install Anaconda on your Ubuntu 18.04 machine by following these step-by-step instructions, allowing you to work on your Python projects without any difficulties. Anaconda is an open-source package management, environment manager, and distributor of the Python and R programming languages, tailored for use in data science and machine learning workflows.\u00a0For <a href=\"https:\/\/www.dedicatedcore.com\/blog\/install-postgresql-ubuntu\/\" target=\"_blank\" rel=\"noopener\">better reliability, advanced features<\/a> &amp; SQL compliance on Ubuntu you should go with PostgreSQL.<\/p>\n<h2>Install Anaconda on an Ubuntu 18.04 Server<\/h2>\n<p>These private hosting plans are designed for Indians to excel <a href=\"https:\/\/www.dedicatedcore.com\/vps-hosting-india\/\" target=\"_blank\" rel=\"noopener\">satisfactory user experience<\/a> with vps server in terms of usability and functionality. Coming back to the topic follow below steps:<\/p>\n<h3>Step 1: Obtaining the Most Recent Anaconda Version<\/h3>\n<p>With the following link, you can find the most recent version:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1703\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/retrieving-latest-version-anaconda.png\" alt=\"finding latest linux version\" width=\"800\" height=\"109\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/retrieving-latest-version-anaconda.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/retrieving-latest-version-anaconda-300x41.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/retrieving-latest-version-anaconda-150x20.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/retrieving-latest-version-anaconda-768x105.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/retrieving-latest-version-anaconda-100x14.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/retrieving-latest-version-anaconda-700x95.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>Locate the most recent Linux version, then copy the installer bash script link.<\/p>\n<h3>Step 2: Get the Anaconda Bash Script downloaded<\/h3>\n<p>Enter the \/tmp directory after logging in as a sudo non-root user to your Ubuntu 18.04 server. Then, use curl to get the URL you copied from the Anaconda website:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ cd \/tmp\r\n$ curl -O https:\/\/repo.anaconda.com\/archive\/Anaconda3-2021.05-Linux-x86_64.sh<\/pre>\n<h3>Step 3: Using the Anaconda Script<\/h3>\n<p>Use the following command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ bash Anaconda3-2019.03-Linux-x86_64.sh<\/pre>\n<p>Pressing ENTER will take you to the end of the license agreement, where you can review it.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1705\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/bash-anaconda-command.png\" alt=\"running anaconda script\" width=\"800\" height=\"290\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/bash-anaconda-command.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/bash-anaconda-command-300x109.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/bash-anaconda-command-150x54.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/bash-anaconda-command-768x278.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/bash-anaconda-command-100x36.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/bash-anaconda-command-700x254.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>As long as you agree to the license, type yes when you reach the end of it and click Enter to finish the installation.<\/p>\n<h3>Step 4: Finishing the Installing Procedure<\/h3>\n<p>You will be asked to select the installation location after accepting the license. You can enter a new location or accept the default location by pressing ENTER.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1706\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/completing-installation-process.png\" alt=\"displays installation process\" width=\"800\" height=\"269\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/completing-installation-process.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/completing-installation-process-300x101.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/completing-installation-process-150x50.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/completing-installation-process-768x258.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/completing-installation-process-100x34.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/completing-installation-process-700x235.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>The installation will now move forward. Keep in mind that installation takes some time.<\/p>\n<h3>Step 5: Choosing Your Options<\/h3>\n<p>Following installation, you&#8217;ll get the following output:<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1707\" src=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/output-installation-complete-1.png\" alt=\"displays output once installation is complete\" width=\"800\" height=\"208\" srcset=\"https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/output-installation-complete-1.png 800w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/output-installation-complete-1-300x78.png 300w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/output-installation-complete-1-150x39.png 150w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/output-installation-complete-1-768x200.png 768w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/output-installation-complete-1-100x26.png 100w, https:\/\/www.dedicatedcore.com\/blog\/wp-content\/uploads\/output-installation-complete-1-700x182.png 700w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/strong><\/p>\n<p>To utilize the conda command, it is advised that you type yes.<\/p>\n<h3>Step 6: Turning on the Installation<\/h3>\n<p>The installation can now be turned on by using the following command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ source ~\/.bashrc<\/pre>\n<h3>Step 7: Installing and Testing<\/h3>\n<p>To test the installation and activation, use the conda command:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ conda list<\/pre>\n<p>All of the packages that are available to you through the Anaconda installation will be output to you.<\/p>\n<h3>Step 8: Creating Anaconda Environments in this Step.<\/h3>\n<p>The conda create command can be used to construct Anaconda environments. For instance, the following command can be used to build a Python 3 environment called my_env:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ conda create --name my_env python=3<\/pre>\n<p>Turn on the new setting in this manner:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">$ conda activate my_env<\/pre>\n<p>You are now prepared to start working on a project because your command prompt prefix has changed to indicate that you are in an active Anaconda environment.<\/p>\n<h3>Final Words on Install Anaconda on Ubuntu 18.04 | 22.04<\/h3>\n<p>In conclusion, anyone wishing to use Python&#8217;s capabilities for data science, machine learning, and scientific computing must first install Anaconda on Ubuntu 18.04. With Anaconda, you can effortlessly manage your environments and dependencies and get access to a large library of pre-built packages and tools.<\/p>\n<p>You may guarantee a seamless installation process and start utilizing Anaconda to speed up your development workflows by following the instructions provided in this guide. Regardless of your level of experience as a data scientist, Anaconda on Ubuntu 18.04 gives you the resources you need to be successful in your Python projects.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting up Anaconda on Ubuntu 18.04 is a simple operation that gives you access to a robust Python development and data science environment. Anaconda is&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1743,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/1701"}],"collection":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/comments?post=1701"}],"version-history":[{"count":8,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/1701\/revisions"}],"predecessor-version":[{"id":2460,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/posts\/1701\/revisions\/2460"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/media\/1743"}],"wp:attachment":[{"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/media?parent=1701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/categories?post=1701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dedicatedcore.com\/blog\/wp-json\/wp\/v2\/tags?post=1701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}