Читать книгу Machine Learning For Dummies - John Paul Mueller, John Mueller Paul, Luca Massaron - Страница 70
Installing Anaconda on Linux
ОглавлениеYou use the command line to install Anaconda on Linux — there is no graphical installation option. The following procedure should work fine on any Linux system, whether you use the Intel or PowerPC version of Anaconda:
1 Open a copy of Terminal.The Terminal window appears.
2 Change directories to the downloaded copy of Anaconda on your system.The name of this file varies, but normally it appears as Anaconda3-2020.07-Linux-x86_64.sh for Intel systems and Anaconda3-2020.07-Linux-ppc64le.sh for PowerPC systems. The version number is embedded as part of the filename. In this case, the filename refers to version 3.2020.07, which is the version used for this book. If you use some other version, you may experience problems with the source code and need to make adjustments when working with it.
3 Type bash Anaconda3-2020.07-Linux-x86_64.sh (for the Intel version) or bash Anaconda3-2020.07-Linux-ppc64le.sh (for the PowerPC version) and press Enter.An installation wizard starts that asks you to accept the licensing terms for using Anaconda.
4 Read the licensing agreement and accept the terms using the method required for your version of Linux.The wizard asks you to provide an installation location for Anaconda. The book assumes that you use the default location for your platform. If you choose some other location, you may have to modify some procedures later in the book to work with your setup.
5 Provide an installation location (if necessary) and press Enter (or click Next).The application extraction process begins. The installer asks whether you want to initialize Anaconda3 using the conda init command.
6 Type yes and press Enter or click Yes.After the extraction is complete, you see a completion message.
7 Add the installation path to your PATH statement using the method required for your version of Linux.You're ready to begin using Anaconda.