By default, we are using the base environment.įirst, we recommend checking for Anaconda updates. To verify if Anaconda has been initialized properly, we can use the conda script to produce info about our active environment. To active the changes in your current session, run the following command: source ~/.bashrc The script will make changes to your environment variables. Provide yes as an answer for the script to initialize our Anaconda 3 installation. Once the installation is done, you should see almost the same output: installation finished.ĭo you wish the installer to initialize Anaconda3 The script will install Python 3.7.x and other dependencies required by Anaconda. Anaconda3 will now be installed into this location:įinally, the installation will now start. For this tutorial, we will leave it to the default location, which is /root/anaconda3. The next question is where you want the Anaconda distribution to be installed. Simply press your ENTER key until you see the following: Do you accept the license terms? In order to continue the installation process, please review the licenseĪfter pressing enter, you will be shown the Anaconda End User License Agreement. Once downloaded, we can now run the script using bash: bash /opt/Anaconda3-2019.03-Linux-x86_64.shĪfter running the command, you should see the following message: Welcome to Anaconda3 2019.03 The script file is a pretty large file and may take some time to download. Since Python 2.7 will retire in 2020, we will be using the one with Python 3.7 for this tutorial.įirst, we need to download the official Anaconda installation script. We can also set up the EPEL release repository and the basic dependencies to avoid unexpected missing dependencies during installation: yum install epel-release -y yum groupinstall -y "Development Tools" Step 2: Installing AnacondaĪs of writing this article, the latest version of Anaconda available for Linux is Anaconda 2019.03. Once logged in, we always recommend to check for package updates as they may contain bug fixes, new features, and general improvements: yum update -y You may also need to specify a port number if your SSH server is set up to use a non-standard port. To initiate the connection, type the following on your OS’s terminal: ssh the and variables depending on your online server’s credentials. Of course, we first need to access the server using SSH. Step 1: Installing Updates and Dependencies
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |