Instalación de Anaconda3 en Linux

Instalación de Anaconda3 en Linux

1. Descargar

Ruta de descarga de la versión del software

https://repo.anaconda.com/archive/

El software de descarga Anaconda3-5.3.1-Linux-x86_64.sh
es un archivo sh y está autorizado por el usuario root:

chmod 755 *.sh

2. Instalación

Pasos que requieren confirmación interactiva durante el proceso de instalación

(1) Aceptar el permiso

Do you accept the license terms? [yes|no]
[no] >>> yes

(2) Establecer variables de entorno

Do you wish the installer to initialize Anaconda3
in your /root/.bashrc ? [yes|no]
[no] >>> yes

(3)Ruta de instalación

Anaconda3 will now be installed into this location:
/root/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/root/anaconda3] >>> 

Presione Enter para confirmar que la ruta predeterminada es /root/anaconda3

(4) Instalar VSCode

No instalar

Do you wish to proceed with the installation of Microsoft VSCode? [yes|no]
>>> no

(5) Verificación de la instalación

[root@tools]# conda -V
bash: conda: command not found...

No se muestra ningún número de versión.

Procesamiento:
archivo /root/.bash_profile agregado

exportar RUTA=/root/anaconda3/bin:$PATH
exportar RUTA

[root@tools]# source .bash_profile
[root@tools]# conda -V
conda 4.5.11

¡Instalado!

El proceso de instalación es el siguiente:

root@tools]# ./Anaconda3-5.3.1-Linux-x86_64.sh 

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
===================================

Copyright 2015, Anaconda, Inc.

All rights reserved under the 3-clause BSD License:

Redistribution and use in source and binary forms, with or without modification, a
re permitted provided that the following conditions are met:

  * Redistributions of source code must retain the above copyright notice, this li
st of conditions and the following disclaimer.
  * Redistributions in binary form must reproduce the above copyright notice, this
 list of conditions and the following disclaimer in the documentation and/or other
 materials provided with the distribution.
  * Neither the name of Anaconda, Inc. ("Anaconda, Inc.") nor the names of its con
tributors may be used to endorse or promote products derived from this software wi
thout specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND AN
Y EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRAN
TIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
 EVENT SHALL ANACONDA, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIA
L, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTER
RUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRIC
T LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
 THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Notice of Third Party Software Licenses
=======================================

Anaconda Distribution contains open source software packages from third parties. T
hese are available on an "as is" basis and subject to their individual license agr
eements. These licenses are available in Anaconda Distribution or at http://docs.a
naconda.com/anaconda/pkg-docs. Any binary packages of these third party tools you 
obtain via Anaconda Distribution are subject to their individual licenses as well 
as the Anaconda license. Anaconda, Inc. reserves the right to change which third p
arty tools are provided in Anaconda Distribution.

In particular, Anaconda Distribution contains re-distributable, run-time, shared-l
ibrary files from the Intel(TM) Math Kernel Library ("MKL binaries"). You are spec
ifically authorized to use the MKL binaries with your installation of Anaconda Dis
tribution. You are also authorized to redistribute the MKL binaries with Anaconda 
Distribution or in the conda package that contains them. Use and redistribution of
 the MKL binaries are subject to the licensing terms located at https://software.i
ntel.com/en-us/license/intel-simplified-software-license. If needed, instructions 
for removing the MKL binaries after installation of Anaconda Distribution are avai
lable at http://www.anaconda.com.

Anaconda Distribution also contains cuDNN software binaries from NVIDIA Corporatio
n ("cuDNN binaries"). You are specifically authorized to use the cuDNN binaries wi
th your installation of Anaconda Distribution. You are also authorized to redistri
bute the cuDNN binaries with an Anaconda Distribution package that contains them. 
If needed, instructions for removing the cuDNN binaries after installation of Anac
onda Distribution are available at http://www.anaconda.com.


Anaconda Distribution also contains Visual Studio Code software binaries from Micr
osoft Corporation ("VS Code"). You are specifically authorized to use VS Code with
 your installation of Anaconda Distribution. Use of VS Code is subject to the lice
nsing terms located at https://code.visualstudio.com/License.

Cryptography Notice
===================

This distribution includes cryptographic software. The country in which you curren
tly reside may have restrictions on the import, possession, use, and/or re-export 
to another country, of encryption software. BEFORE using any encryption software, 
please check your country's laws, regulations and policies concerning the import, 
possession, or use, and re-export of encryption software, to see if this is permit
ted. See the Wassenaar Arrangement http://www.wassenaar.org/ for more information.

Anaconda, Inc. has self-classified this software as Export Commodity Control Numbe
r (ECCN) 5D992b, which includes mass market information security software using or
 performing cryptographic functions with asymmetric algorithms. No license is requ
ired for export of this software to non-embargoed countries. In addition, the Inte
l(TM) Math Kernel Library contained in Anaconda, Inc.'s software is classified by 
Intel(TM) as ECCN 5D992b with no license required for export to non-embargoed coun
tries and Microsoft's Visual Studio Code software is classified by Microsoft as EC
CN 5D992.c with no license required for export to non-embargoed countries.

The following packages are included in this distribution that relate to cryptograp
hy:

openssl
    The OpenSSL Project is a collaborative effort to develop a robust, commercial-
grade, full-featured, and Open Source toolkit implementing the Transport Layer Sec
urity (TLS) and Secure Sockets Layer (SSL) protocols as well as a full-strength ge
neral purpose cryptography library.

pycrypto
    A collection of both secure hash functions (such as SHA256 and RIPEMD160), and
 various encryption algorithms (AES, DES, RSA, ElGamal, etc.).

pyopenssl
    A thin Python wrapper around (a subset of) the OpenSSL library.

kerberos (krb5, non-Windows platforms)
    A network authentication protocol designed to provide strong authentication fo
r 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:
/root/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/root/anaconda3] >>> 
PREFIX=/root/anaconda3
installing: python-3.7.0-hc3d631a_0 ...
Python 3.7.0
installing: blas-1.0-mkl ...
installing: ca-certificates-2018.03.07-0 ...
installing: conda-env-2.6.0-1 ...
installing: intel-openmp-2019.0-118 ...
installing: libgcc-ng-8.2.0-hdf63c60_1 ...
installing: libgfortran-ng-7.3.0-hdf63c60_0 ...
installing: libstdcxx-ng-8.2.0-hdf63c60_1 ...
installing: bzip2-1.0.6-h14c3975_5 ...
installing: expat-2.2.6-he6710b0_0 ...
installing: fribidi-1.0.5-h7b6447c_0 ...
installing: gmp-6.1.2-h6c8ec71_1 ...
installing: graphite2-1.3.12-h23475e2_2 ...
installing: icu-58.2-h9c2bf20_1 ...
installing: jbig-2.1-hdba287a_0 ...
installing: jpeg-9b-h024ee3a_2 ...
installing: libffi-3.2.1-hd88cf55_4 ...
installing: libsodium-1.0.16-h1bed415_0 ...
installing: libtool-2.4.6-h544aabb_3 ...
installing: libuuid-1.0.3-h1bed415_2 ...
installing: libxcb-1.13-h1bed415_1 ...
installing: lzo-2.10-h49e0be7_2 ...
installing: mkl-2019.0-118 ...
installing: ncurses-6.1-hf484d3e_0 ...
installing: openssl-1.0.2p-h14c3975_0 ...
installing: patchelf-0.9-hf484d3e_2 ...
installing: pcre-8.42-h439df22_0 ...
installing: pixman-0.34.0-hceecf20_3 ...
installing: snappy-1.1.7-hbae5bb6_3 ...
installing: xz-5.2.4-h14c3975_4 ...
installing: yaml-0.1.7-had09818_2 ...
installing: zlib-1.2.11-ha838bed_2 ...
installing: blosc-1.14.4-hdbcaa40_0 ...
installing: glib-2.56.2-hd408876_0 ...
installing: hdf5-1.10.2-hba1933b_1 ...
installing: libedit-3.1.20170329-h6b74fdf_2 ...
installing: libpng-1.6.34-hb9fc6fc_0 ...
installing: libssh2-1.8.0-h9cfc8f7_4 ...
installing: libtiff-4.0.9-he85c1e1_2 ...
installing: libxml2-2.9.8-h26e45fe_1 ...
installing: mpfr-4.0.1-hdf1c602_3 ...
installing: pandoc-1.19.2.1-hea2e7c5_1 ...
installing: readline-7.0-h7b6447c_5 ...
installing: tk-8.6.8-hbc83047_0 ...
installing: zeromq-4.2.5-hf484d3e_1 ...
installing: dbus-1.13.2-h714fa37_1 ...
installing: freetype-2.9.1-h8a8886c_1 ...
installing: gstreamer-1.14.0-hb453b48_1 ...
installing: libcurl-7.61.0-h1ad7b7a_0 ...
installing: libxslt-1.1.32-h1312cb7_0 ...
installing: mpc-1.1.0-h10f8cd9_1 ...
installing: sqlite-3.24.0-h84994c4_0 ...
installing: unixodbc-2.3.7-h14c3975_0 ...
installing: curl-7.61.0-h84994c4_0 ...
installing: fontconfig-2.13.0-h9420a91_0 ...
installing: gst-plugins-base-1.14.0-hbbd80ab_1 ...
installing: alabaster-0.7.11-py37_0 ...
installing: appdirs-1.4.3-py37h28b3542_0 ...
installing: asn1crypto-0.24.0-py37_0 ...
installing: atomicwrites-1.2.1-py37_0 ...
installing: attrs-18.2.0-py37h28b3542_0 ...
installing: backcall-0.1.0-py37_0 ...
installing: backports-1.0-py37_1 ...
installing: beautifulsoup4-4.6.3-py37_0 ...
installing: bitarray-0.8.3-py37h14c3975_0 ...
installing: boto-2.49.0-py37_0 ...
installing: cairo-1.14.12-h8948797_3 ...
installing: certifi-2018.8.24-py37_1 ...
installing: chardet-3.0.4-py37_1 ...
installing: click-6.7-py37_0 ...
installing: cloudpickle-0.5.5-py37_0 ...
installing: colorama-0.3.9-py37_0 ...
installing: constantly-15.1.0-py37h28b3542_0 ...
installing: contextlib2-0.5.5-py37_0 ...
installing: dask-core-0.19.1-py37_0 ...
installing: decorator-4.3.0-py37_0 ...
installing: defusedxml-0.5.0-py37_1 ...
installing: docutils-0.14-py37_0 ...
installing: entrypoints-0.2.3-py37_2 ...
installing: et_xmlfile-1.0.1-py37_0 ...
installing: fastcache-1.0.2-py37h14c3975_2 ...
installing: filelock-3.0.8-py37_0 ...
installing: glob2-0.6-py37_0 ...
installing: gmpy2-2.0.8-py37h10f8cd9_2 ...
installing: greenlet-0.4.15-py37h7b6447c_0 ...
installing: heapdict-1.0.0-py37_2 ...
installing: idna-2.7-py37_0 ...
installing: imagesize-1.1.0-py37_0 ...
installing: incremental-17.5.0-py37_0 ...
installing: ipython_genutils-0.2.0-py37_0 ...
installing: itsdangerous-0.24-py37_1 ...
installing: jdcal-1.4-py37_0 ...
installing: jeepney-0.3.1-py37_0 ...
installing: kiwisolver-1.0.1-py37hf484d3e_0 ...
installing: lazy-object-proxy-1.3.1-py37h14c3975_2 ...
installing: llvmlite-0.24.0-py37hdbcaa40_0 ...
installing: locket-0.2.0-py37_1 ...
installing: lxml-4.2.5-py37hefd8a0e_0 ...
installing: markupsafe-1.0-py37h14c3975_1 ...
installing: mccabe-0.6.1-py37_1 ...
installing: mistune-0.8.3-py37h14c3975_1 ...
installing: mkl-service-1.1.2-py37h90e4bf4_5 ...
installing: mpmath-1.0.0-py37_2 ...
installing: msgpack-python-0.5.6-py37h6bb024c_1 ...
installing: numpy-base-1.15.1-py37h81de0dd_0 ...
installing: olefile-0.46-py37_0 ...
installing: pandocfilters-1.4.2-py37_1 ...
installing: parso-0.3.1-py37_0 ...
installing: path.py-11.1.0-py37_0 ...
installing: pep8-1.7.1-py37_0 ...
installing: pickleshare-0.7.4-py37_0 ...
installing: pkginfo-1.4.2-py37_1 ...
installing: pluggy-0.7.1-py37h28b3542_0 ...
installing: ply-3.11-py37_0 ...
installing: psutil-5.4.7-py37h14c3975_0 ...
installing: ptyprocess-0.6.0-py37_0 ...
installing: py-1.6.0-py37_0 ...
installing: pyasn1-0.4.4-py37h28b3542_0 ...
installing: pycodestyle-2.4.0-py37_0 ...
installing: pycosat-0.6.3-py37h14c3975_0 ...
installing: pycparser-2.18-py37_1 ...
installing: pycrypto-2.6.1-py37h14c3975_9 ...
installing: pycurl-7.43.0.2-py37hb7f436b_0 ...
installing: pyflakes-2.0.0-py37_0 ...
installing: pyodbc-4.0.24-py37he6710b0_0 ...
installing: pyparsing-2.2.0-py37_1 ...
installing: pysocks-1.6.8-py37_0 ...
installing: pytz-2018.5-py37_0 ...
installing: pyyaml-3.13-py37h14c3975_0 ...
installing: pyzmq-17.1.2-py37h14c3975_0 ...
installing: qt-5.9.6-h8703b6f_2 ...
installing: qtpy-1.5.0-py37_0 ...
installing: rope-0.11.0-py37_0 ...
installing: ruamel_yaml-0.15.46-py37h14c3975_0 ...
installing: send2trash-1.5.0-py37_0 ...
installing: simplegeneric-0.8.1-py37_2 ...
installing: sip-4.19.8-py37hf484d3e_0 ...
installing: six-1.11.0-py37_1 ...
installing: snowballstemmer-1.2.1-py37_0 ...
installing: sortedcontainers-2.0.5-py37_0 ...
installing: sphinxcontrib-1.0-py37_1 ...
installing: sqlalchemy-1.2.11-py37h7b6447c_0 ...
installing: tblib-1.3.2-py37_0 ...
installing: testpath-0.3.1-py37_0 ...
installing: toolz-0.9.0-py37_0 ...
installing: tornado-5.1-py37h14c3975_0 ...
installing: tqdm-4.26.0-py37h28b3542_0 ...
installing: unicodecsv-0.14.1-py37_0 ...
installing: wcwidth-0.1.7-py37_0 ...
installing: webencodings-0.5.1-py37_1 ...
installing: werkzeug-0.14.1-py37_0 ...
installing: wrapt-1.10.11-py37h14c3975_2 ...
installing: xlrd-1.1.0-py37_1 ...
installing: xlsxwriter-1.1.0-py37_0 ...
installing: xlwt-1.3.0-py37_0 ...
installing: zope-1.0-py37_1 ...
installing: astroid-2.0.4-py37_0 ...
installing: automat-0.7.0-py37_0 ...
installing: babel-2.6.0-py37_0 ...
installing: backports.shutil_get_terminal_size-1.0.0-py37_2 ...
installing: cffi-1.11.5-py37he75722e_1 ...
installing: cycler-0.10.0-py37_0 ...
installing: cytoolz-0.9.0.1-py37h14c3975_1 ...
installing: harfbuzz-1.8.8-hffaf4a1_0 ...
installing: html5lib-1.0.1-py37_0 ...
installing: hyperlink-18.0.0-py37_0 ...
installing: jedi-0.12.1-py37_0 ...
installing: more-itertools-4.3.0-py37_0 ...
installing: multipledispatch-0.6.0-py37_0 ...
installing: networkx-2.1-py37_0 ...
installing: nltk-3.3.0-py37_0 ...
installing: openpyxl-2.5.6-py37_0 ...
installing: packaging-17.1-py37_0 ...
installing: partd-0.3.8-py37_0 ...
installing: pathlib2-2.3.2-py37_0 ...
installing: pexpect-4.6.0-py37_0 ...
installing: pillow-5.2.0-py37heded4f4_0 ...
installing: pyasn1-modules-0.2.2-py37_0 ...
installing: pyqt-5.9.2-py37h05f1152_2 ...
installing: python-dateutil-2.7.3-py37_0 ...
installing: qtawesome-0.4.4-py37_0 ...
installing: setuptools-40.2.0-py37_0 ...
installing: singledispatch-3.4.0.3-py37_0 ...
installing: sortedcollections-1.0.1-py37_0 ...
installing: sphinxcontrib-websupport-1.1.0-py37_1 ...
installing: sympy-1.2-py37_0 ...
installing: terminado-0.8.1-py37_1 ...
installing: traitlets-4.3.2-py37_0 ...
installing: zict-0.1.3-py37_0 ...
installing: zope.interface-4.5.0-py37h14c3975_0 ...
installing: bleach-2.1.4-py37_0 ...
installing: clyent-1.2.2-py37_1 ...
installing: cryptography-2.3.1-py37hc365091_0 ...
installing: cython-0.28.5-py37hf484d3e_0 ...
installing: distributed-1.23.1-py37_0 ...
installing: get_terminal_size-1.0.0-haa9412d_0 ...
installing: gevent-1.3.6-py37h7b6447c_0 ...
installing: isort-4.3.4-py37_0 ...
installing: jinja2-2.10-py37_0 ...
installing: jsonschema-2.6.0-py37_0 ...
installing: jupyter_core-4.4.0-py37_0 ...
installing: navigator-updater-0.2.1-py37_0 ...
installing: nose-1.3.7-py37_2 ...
installing: pango-1.42.4-h049681c_0 ...
installing: pygments-2.2.0-py37_0 ...
installing: pytest-3.8.0-py37_0 ...
installing: wheel-0.31.1-py37_0 ...
installing: flask-1.0.2-py37_1 ...
installing: jupyter_client-5.2.3-py37_0 ...
installing: nbformat-4.4.0-py37_0 ...
installing: pip-10.0.1-py37_0 ...
installing: prompt_toolkit-1.0.15-py37_0 ...
installing: pylint-2.1.1-py37_0 ...
installing: pyopenssl-18.0.0-py37_0 ...
installing: pytest-openfiles-0.3.0-py37_0 ...
installing: pytest-remotedata-0.3.0-py37_0 ...
installing: secretstorage-3.1.0-py37_0 ...
installing: flask-cors-3.0.6-py37_0 ...
installing: ipython-6.5.0-py37_0 ...
installing: keyring-13.2.1-py37_0 ...
installing: nbconvert-5.4.0-py37_1 ...
installing: service_identity-17.0.0-py37h28b3542_0 ...
installing: urllib3-1.23-py37_0 ...
installing: ipykernel-4.9.0-py37_1 ...
installing: requests-2.19.1-py37_0 ...
installing: twisted-18.7.0-py37h14c3975_1 ...
installing: anaconda-client-1.7.2-py37_0 ...
installing: jupyter_console-5.2.0-py37_1 ...
installing: prometheus_client-0.3.1-py37h28b3542_0 ...
installing: qtconsole-4.4.1-py37_0 ...
installing: sphinx-1.7.9-py37_0 ...
installing: spyder-kernels-0.2.6-py37_0 ...
installing: anaconda-navigator-1.9.2-py37_0 ...
installing: anaconda-project-0.8.2-py37_0 ...
installing: notebook-5.6.0-py37_0 ...
installing: numpydoc-0.8.0-py37_0 ...
installing: jupyterlab_launcher-0.13.1-py37_0 ...
installing: spyder-3.3.1-py37_1 ...
installing: widgetsnbextension-3.4.1-py37_0 ...
installing: ipywidgets-7.4.1-py37_0 ...
installing: jupyterlab-0.34.9-py37_0 ...
installing: _ipyw_jlab_nb_ext_conf-0.1.0-py37_0 ...
installing: jupyter-1.0.0-py37_7 ...
installing: bokeh-0.13.0-py37_0 ...
installing: bottleneck-1.2.1-py37h035aef0_1 ...
installing: conda-4.5.11-py37_0 ...
installing: conda-build-3.15.1-py37_0 ...
installing: datashape-0.5.4-py37_1 ...
installing: h5py-2.8.0-py37h989c5e5_3 ...
installing: imageio-2.4.1-py37_0 ...
installing: matplotlib-2.2.3-py37hb69df0a_0 ...
installing: mkl_fft-1.0.4-py37h4414c95_1 ...
installing: mkl_random-1.0.1-py37h4414c95_1 ...
installing: numpy-1.15.1-py37h1d66e8a_0 ...
installing: numba-0.39.0-py37h04863e7_0 ...
installing: numexpr-2.6.8-py37hd89afb7_0 ...
installing: pandas-0.23.4-py37h04863e7_0 ...
installing: pytest-arraydiff-0.2-py37h39e3cac_0 ...
installing: pytest-doctestplus-0.1.3-py37_0 ...
installing: pywavelets-1.0.0-py37hdd07704_0 ...
installing: scipy-1.1.0-py37hfa4b5c9_1 ...
installing: bkcharts-0.2-py37_0 ...
installing: dask-0.19.1-py37_0 ...
installing: patsy-0.5.0-py37_0 ...
installing: pytables-3.4.4-py37ha205bf6_0 ...
installing: pytest-astropy-0.4.0-py37_0 ...
installing: scikit-image-0.14.0-py37hf484d3e_1 ...
installing: scikit-learn-0.19.2-py37h4989274_0 ...
installing: astropy-3.0.4-py37h14c3975_0 ...
installing: odo-0.5.1-py37_0 ...
installing: statsmodels-0.9.0-py37h035aef0_0 ...
installing: blaze-0.11.3-py37_0 ...
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

Initializing Anaconda3 in /root/.bashrc
A backup will be made to: /root/.bashrc-anaconda3.bak


For this change to become active, you have to open a new terminal.

Thank you for installing Anaconda3!

===========================================================================

Anaconda is partnered with Microsoft! Microsoft VSCode is a streamlined
code editor with support for development operations like debugging, task
running and version control.

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

Supongo que te gusta

Origin blog.csdn.net/qq_39065491/article/details/130552875
Recomendado
Clasificación