Ubuntu安装anaconda的方法

作者: Spareribs | 来源:发表于2019-03-31 18:08 被阅读4次

    下载

    使用 清华大学开源软件镜像站 进行下载 按需选择版本
    https://mirror.tuna.tsinghua.edu.cn/help/anaconda/
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

    自定义安装命令

    bash Anacondaxxxxx.bash -p PATH -u -f
    # 说明
    # -p:为自定义的路径
    # -f:覆盖安装
    # 参考
    root@iZayh3eg8rjhsjZ:/home# bash Anaconda3-5.3.1-Linux-x86_64.sh  -p /home/anaconda3/
    

    安装详细过程

    执行安装,回车确认

    root@iZayh3eg8rjhsjZ:/home# bash Anaconda3-5.3.1-Linux-x86_64.sh  -p /home/anaconda3/
    
    Welcome to Anaconda3 5.3.1
    
    In order to continue the installation process, please review the license
    agreement.
    Please, press ENTER to continue
    >>> 
    ===================================
    Anaconda End User License Agreement
    ==================================
    

    接受许可条款,确认yes

    kerberos (krb5, non-Windows platforms)
        A network authentication protocol designed to provide strong authentication for client/server applications by using secret-key cryptography.
    
    cryptography
        A Python library which exposes cryptographic recipes and primitives.
    
    
    Do you accept the license terms? [yes|no]
    [no] >>> yes
    

    确认安装的路径,回车确认

    Anaconda3 will now be installed into this location:
    /home/anaconda3/
    
      - Press ENTER to confirm the location
      - Press CTRL-C to abort the installation
      - Or specify a different location below
    
    [/home/anaconda3/] >>> 
    PREFIX=/home/anaconda3
    installing: python-3.7.0-hc3d631a_0 ...
    Python 3.7.0
    installing: blas-1.0-mkl ...
    

    是否设置 bashrc,确认yes

    installing: seaborn-0.9.0-py37_0 ...
    installing: anaconda-5.3.1-py37_0 ...
    installation finished.
    Do you wish the installer to initialize Anaconda3
    in your /root/.bashrc ? [yes|no]
    [no] >>> yes
    

    是否安装 Microsoft VSCode ,取消no

    To install Visual Studio Code, you will need:
      - Administrator Privileges
      - Internet connectivity
    
    Visual Studio Code License: https://code.visualstudio.com/license
    
    Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]
    >>> no
    

    使用方法

    # 执行 bashrc
    source /root/.bashrc 
    

    相关文章

      网友评论

        本文标题:Ubuntu安装anaconda的方法

        本文链接:https://www.haomeiwen.com/subject/etuubqtx.html