{"id":3925,"date":"2019-03-27T19:02:40","date_gmt":"2019-03-27T13:32:40","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=3925"},"modified":"2019-03-27T19:11:14","modified_gmt":"2019-03-27T13:41:14","slug":"steps-to-setup-python-anaconda-in-centos","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/steps-to-setup-python-anaconda-in-centos\/","title":{"rendered":"STEPS TO SETUP PYTHON ANACONDA IN CENTOS"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">STEPS TO SETUP PYTHON ANACONDA IN CENTOS<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Date posted: 27\/03\/2019<\/h4>\n\n\n\n<h4 class=\"wp-block-heading\">Introduction<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Anaconda is a distribution for both Python and R, very popular among data scientists and machine learning coders. Today, we will see how to set up Anaconda in your CentOS server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This tutorial will helpful in setting up Anaconda in both CentOS 6 or 7 environment.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.wintellect.com\/wp-content\/uploads\/2017\/10\/python-1.png\" alt=\"Related image\" \/><figcaption>Python and R<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Step by step procedure are as follows:<\/h4>\n\n\n\n<ol class=\"wp-block-list\"><li>At initially, log into your server via SSH and create a directory &#8216;anac&#8217; to install Anaconda packages at \/root.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">  2. Let\u2019s navigate to the directory:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/anac<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. Next, moreover we try to retrieve the latest download link from the official site itself. The link is attached below,<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:\/\/www.continuum.io\/downloads<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Click on \u2018Linux\u2019 and select the 64-bit installer for your preferred Python version 2.7\/ 3,0 . Right click and then \u2018Copy link address\u2019.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. After that, continue the SSH session and download the .sh file to your server.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>wget https:\/\/repo.continuum.io\/archive\/Anaconda3-4.3.1-Linux-x86_64.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">5. Once it\u2019s done downloading, you can run the installer with the bash command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bash Anaconda3-4.0.0-Linux-x86_64.sh<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The installer will then begin and ask you a series of questions. Accepting the Terms and Conditions and select \u2018Yes\u2019 this will make running Conda commands a lot easier. Therefore, conda packages are now available in server.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For instance, Anaconda is ready to be used. In addition, here is the fine example for the commands to run.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda update NAME_OF_PACKAGE\n\nconda install NAME_OF_PACKAGE<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Note:  In other words, Conda\u2019s repository  isn\u2019t that extensive, so if you can\u2019t find something through conda install, try pip installation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip #1:  <\/strong>To install CentOS development tools, a comprehensive package of tools that will allow you to do basically anything needed for development on the system side.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum groupinstall \u201cDevelopment tools\u201d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Tip #2:<\/strong> Most importantly, do not try to use Python 2.7 in CentOS 7. It&#8217;s not compatible.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it! Hope it\u2019s useful.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks for using&nbsp;<a href=\"https:\/\/pheonixsolutions.com\/\">pheonix solutions<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You find this tutorial helpful? Share with your friends to keep it alive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>STEPS TO SETUP PYTHON ANACONDA IN CENTOS Date posted: 27\/03\/2019 Introduction Anaconda is a distribution for both Python and R, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[595,596,415,292],"class_list":["post-3925","post","type-post","status-publish","format-standard","hentry","category-web-architecture","tag-anaconda","tag-anaconda-installation","tag-centos-7","tag-python","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-11j","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=3925"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3925\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=3925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=3925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=3925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}