11/30/2023 0 Comments Download anaconda ubuntu 20.04![]() ![]() Be sure to check what's the latest available version:Ĭopy the download link and download it through the terminal using the following command: wget Īfter downloading the installation script, proceed to the next step. Till the date of writing this article, the latest version is Anaconda3 2021 05, however there may be a new version available. In this directory, you will download the latest available Anaconda Installation Script for Linux ( you can obtain it from the official website here). Switch to the temporary directory of the system with the following command: cd /tmp Update Local Package ManagerĪs first step, be sure to update the local package manager using the following instruction: sudo apt-get update 2. In this article, I will explain to you how to easily install Anaconda in your Ubuntu 20.04 server or desktop. You will need this distribution in your server or desktop if you work with machine learning and related libraries. ![]() The distribution comes with the Python interpreter and various packages related to machine learning and data science. You will not need to enter the root terminal with sudo -i every time you need to run Jupyter, but you will need to when you want to install a package.Anaconda (Anaconda Individual Edition) is basically a free and open-source distribution of the programming languages Python and R. In the terminal, hit Ctrl+C twice to stop the notebook process. This will start the Jupyter Notebook, and a Firefox window will open with some stuff in it. When it is done, you can exit the terminal.ġ0: To test that the installation of Jupyter Notebooks was successful, open the terminal again and type jupyter notebook Type y when asked if you wish to proceed and hit enter. This will install Jupyter Notebooks, a useful took for writing Python code. Type conda list to confirm that it works. This is the root shell, where you can do system stuff without having to type sudo every time. Here's what you need to do:ĩ: Open a fresh terminal and type sudo -i typing your password when prompted. sudo conda install jupyter, but you may get a message "sudo: conda: command not found". Now for the slightly tricky partĨ: If you want to install any packages using the conda command, you will need to use sudo, i.e. If you get a list of packages, the installation was successful. To test the installation, type conda list Open a new terminal session from Menu>System Tools> MATE Terminal. Type exit, hit enter, and close the terminal window. Type yes and hit enter.ħ: You will be shown a message that the installation is finished and you will need to open a new Terminal session to use it. There will be several lines of installing: package that will appear, then you will be asked if you wish for the installer to prepend the Miniconda installation to your PATH. Type yes and hit enter.Ħ: The default location should be good, so just hit enter. You will be asked if you accept the license terms. The quickest way to go through this is to hit space this will take you through a few lines at at time. You will be presented with a license and terms of use. It should look something like Miniconda3-latest-Linux-x86_64.sh This will start the installer.ĥ: Hit enter to continue with the installation. ![]() Type bash miniconda-file.sh, replacing miniconda-file with the name of the file you downloaded. If you didn't download the file to Downloads, change it to wherever you downloaded the file to. You will be shown a command prompt that looks like normal, except there will be a # instead of a $ at the end.Ĥ: Type cd ~/Downloads. Nothing will appear as you type: this is normal and is a security feature. This will open up a Terminal session.ģ: Type sudo -i and type your password when prompted. With Miniconda, you can download it much faster and still install whatever you need easilyĢ: From the Start Menu, go to System Tools>MATE Terminal. sh file from here (if on a Raspberry Pi, from here.) I recommend Miniconda because the full Anaconda package has about a thousand packages, mostly for data science, included, and it is several gigabytes in size. ![]() It comes with a Python package management system and many modules pre-downloaded.)ġ: Download the. (For those who may not know, Anaconda is an open-source Python distribution designed for large-scale data analysis. So, here is my tutorial for how to install Anaconda successfully. When I installed Anaconda (actually, I installed Miniconda, but it should be just the same), it failed to work with sudo. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |