• [软件安装]anaconda安装


    anaconda安装

    以下是在Linux下安装anaconda的详细步骤:

    1. 首先,在anaconda官网上下载适用于Linux的anaconda安装包。

    2. 打开终端,进入下载目录并解压安装包。

    3. 执行以下命令进入安装程序:bash Anaconda3-2021.05-Linux-x86_64.sh

    $ bash Anaconda3-2023.09-0-Linux-x86_64.sh
    
    Welcome to Anaconda3 2023.09-0
    
    In order to continue the installation process, please review the license
    agreement.
    Please, press ENTER to continue
    >>>
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    1. 按照安装程序指示阅读并接受许可协议。
    ==================================================
    End User License Agreement - Anaconda Distribution
    ==================================================
    
    Copyright 2015-2023, Anaconda, Inc.
    
    All rights reserved under the 3-clause BSD License:
    
    This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. ("Anaconda") and gov
    n).
    
    Subject to the terms of this Agreement, Anaconda hereby grants you a non-exclusive, non-transferable license to:
    
      * Install and use the Anaconda Distribution (which was formerly known as Anaconda Individual Edition),
      * Modify and create derivative works of sample source code delivered in Anaconda Distribution from Anaconda's repository
      * Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modific
    
    Anaconda may, at its option, make available patches, workarounds or other updates to Anaconda Distribution. Unless the upd
    bution licensed to you as provided in this Agreement.  This Agreement does not entitle you to any support for Anaconda Dis
    
    Anaconda reserves all rights not expressly granted to you in this Agreement.
    
    Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following
    
      * Redistributions of source code must retain the above copyright notice, this list of conditions and the following discl
      * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following di
      * Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from
      * The purpose of the redistribution is not part of a commercial product for resale. Please contact the Anaconda team for
      * Commercial usage of the repository is non-compliant with our Terms of Service . Please contact us to learn more about
    
    You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectua
    istributed with or through Anaconda Distribution, the applicable third-party licensors own all right, title and interest,
    any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, including
    s, suggestions or the like ("Feedback"), Anaconda is free to use such Feedback. You hereby assign to Anaconda all right, t
     any party, any ideas, know-how, concepts, techniques or other intellectual property rights contained in the Feedback, for
    
    THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT N
    ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUE
    S OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
    E OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    
    TO THE MAXIMUM EXTENT PERMITTED BY LAW, ANACONDA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNIT
    LL, OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFO
    H OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY O
    DER OR ARISING OUT OF THIS AGREEMENT EXCEED 10.00 U.S. DOLLARS.
    
    If you want to terminate this Agreement, you may do so by discontinuing use of Anaconda Distribution.  Anaconda may, at an
    any term of this Agreement.   Upon any termination of this Agreement, you agree to promptly discontinue use of the Anacond
    his Agreement all provisions survive except for the licenses granted to you.
    
    This Agreement is governed by and construed in accordance with the internal laws of the State of Texas without giving effe
    tion of the laws of any jurisdiction other than those of the State of Texas. Any legal suit, action, or proceeding arising
    ed exclusively in the federal courts of the United States or the courts of the State of Texas in each case located in Trav
    it, action, or proceeding.
    
    Notice of Third Party Software Licenses
    =======================================
    
    
    Do you accept the license terms? [yes|no]
    [no] >>> yes
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    1. 选择安装目录。如果不确定,建议选择默认目录。在选择完毕后,安装程序会要求您确认安装路径。
    Anaconda3 will now be installed into this location:
    /home/[username]/anaconda3
    
      - Press ENTER to confirm the location
      - Press CTRL-C to abort the installation
      - Or specify a different location below
    
    [/home/[username]/anaconda3] >>>
    PREFIX=/home/[username]/anaconda3
    Unpacking payload ...
    
    Installing base environment...
    
    
    Downloading and Extracting Packages
    
    
    Downloading and Extracting Packages
    
    Preparing transaction: done
    Executing transaction: |
    
        Installed package of scikit-learn can be accelerated using scikit-learn-intelex.
        More details are available here: https://intel.github.io/scikit-learn-intelex
    
        For example:
    
            $ conda install scikit-learn-intelex
            $ python -m sklearnex my_application.py
    
    
                                                                                                                            done
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    1. 安装程序会询问是否将anaconda添加到PATH环境变量中。如果要在命令行中使用conda和anaconda,则建议选择此选项。
    Do you wish to update your shell profile to automatically initialize conda?
    This will activate conda on startup and change the command prompt when activated.
    If you'd prefer that conda's base environment not be activated on startup,
       run the following command when conda is activated:
    
    conda config --set auto_activate_base false
    
    You can undo this by running `conda init --reverse $SHELL`? [yes|no]
    [no] >>> yes
    no change     /home/[username]/anaconda3/condabin/conda
    no change     /home/[username]/anaconda3/bin/conda
    no change     /home/[username]/anaconda3/bin/conda-env
    no change     /home/[username]/anaconda3/bin/activate
    no change     /home/[username]/anaconda3/bin/deactivate
    no change     /home/[username]/anaconda3/etc/profile.d/conda.sh
    no change     /home/[username]/anaconda3/etc/fish/conf.d/conda.fish
    no change     /home/[username]/anaconda3/shell/condabin/Conda.psm1
    no change     /home/[username]/anaconda3/shell/condabin/conda-hook.ps1
    no change     /home/[username]/anaconda3/lib/python3.11/site-packages/xontrib/conda.xsh
    no change     /home/[username]/anaconda3/etc/profile.d/conda.csh
    modified      /home/[username]/.bashrc
    
    ==> For changes to take effect, close and re-open your current shell. <==
    
    Thank you for installing Anaconda3!
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    1. 您可以在终端中输入anaconda以检查是否已安装成功。

    2. 最后,您可以使用conda create命令创建新的conda环境,以开始使用anaconda。

    在安装期间如果遇到问题,请查看安装程序输出,或者在anaconda社区中搜索解决方案。

  • 相关阅读:
    开发工程师必备————【Day26】Django补充(三)
    被动模式下的主主复制
    PMP项目管理考试的知识点概述
    【Proteus仿真】L297驱动步进电机
    Oracle中数据迁移的工具
    FIX三天日记-FIX简介
    Awesome GIS
    中科大郑烇、杨坚 《计算机网络》第一章
    LeetCode50天刷题计划(Day 6—— 整数反转 14.20-15.20)
    Codeforces Round #827 (Div. 4)
  • 原文地址:https://blog.csdn.net/orDream/article/details/134521664