zoukankan      html  css  js  c++  java
  • Ubuntu16 install Anaconda

    gbt@gbt-Precision-7720:~$
    gbt@gbt-Precision-7720:~$ cd Anaconda
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ ls
    Anaconda2  Anaconda2-5.2.0-Linux-x86_64.sh  Anaconda3-5.1.0-Linux-x86_64.sh
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ md5sum Anaconda2-5.2.0-Linux-x86_64.sh
    5c034a4ab36ec9b6ae01fa13d8a04462  Anaconda2-5.2.0-Linux-x86_64.sh
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ ls
    Anaconda2  Anaconda2-5.2.0-Linux-x86_64.sh  Anaconda3-5.1.0-Linux-x86_64.sh
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ bash Anaconda2-5.2.0-Linux-x86_64.sh

    Welcome to Anaconda2 5.2.0

    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,
     are permitted provided that the following conditions are met:

      * Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.
      * Redistributions in binary form must reproduce the above copyright notice, th
    is list of conditions and the following disclaimer in the documentation and/or o
    ther materials provided with the distribution.
      * Neither the name of Anaconda, Inc. ("Anaconda, Inc.") nor the names of its c
    ontributors may be used to endorse or promote products derived from this softwar
    e without specific prior written permission.

    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WA
    RRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     IN NO EVENT SHALL ANACONDA, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL
    , SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, P
    ROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BU
    SINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN C
    ONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING I
    N 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.
     These are available on an "as is" basis and subject to their individual license
     agreements. These licenses are available in Anaconda Distribution or at http://
    docs.anaconda.com/anaconda/pkg-docs. Any binary packages of these third party to
    ols you obtain via Anaconda Distribution are subject to their individual license
    s as well as the Anaconda license. Anaconda, Inc. reserves the right to change w
    hich third party tools are provided in Anaconda Distribution.

    In particular, Anaconda Distribution contains re-distributable, run-time, shared
    -library files from the Intel(TM) Math Kernel Library ("MKL binaries"). You are
    specifically authorized to use the MKL binaries with your installation of Anacon
    da Distribution. You are also authorized to redistribute the MKL binaries with A
    naconda Distribution or in the conda package that contains them. Use and redistr
    ibution of the MKL binaries are subject to the licensing terms located at https:
    //software.intel.com/en-us/license/intel-simplified-software-license. If needed,
     instructions for removing the MKL binaries after installation of Anaconda Distr
    ibution are available at http://www.anaconda.com.

    Anaconda Distribution also contains cuDNN software binaries from NVIDIA Corporat
    ion ("cuDNN binaries"). You are specifically authorized to use the cuDNN binarie
    s with your installation of Anaconda Distribution. You are also authorized to re
    distribute the cuDNN binaries with an Anaconda Distribution package that contain
    s them. If needed, instructions for removing the cuDNN binaries after installati
    on of Anaconda Distribution are available at http://www.anaconda.com.


    Anaconda Distribution also contains Visual Studio Code software binaries from Mi
    crosoft Corporation ("VS Code"). You are specifically authorized to use VS Code
    with your installation of Anaconda Distribution. Use of VS Code is subject to th
    e licensing terms located at https://code.visualstudio.com/License.

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

    This distribution includes cryptographic software. The country in which you curr
    ently reside may have restrictions on the import, possession, use, and/or re-exp
    ort to another country, of encryption software. BEFORE using any encryption soft
    ware, 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 permitted. See the Wassenaar Arrangement http://www.wassenaar.org/ for more
    information.

    Anaconda, Inc. has self-classified this software as Export Commodity Control Num
    ber (ECCN) 5D992b, which includes mass market information security software usin
    g or performing cryptographic functions with asymmetric algorithms. No license i
    s required for export of this software to non-embargoed countries. In addition,
    the Intel(TM) Math Kernel Library contained in Anaconda, Inc.'s software is clas
    sified by Intel(TM) as ECCN 5D992b with no license required for export to non-em
    bargoed countries and Microsoft's Visual Studio Code software is classified by M
    icrosoft as ECCN 5D992.c with no license required for export to non-embargoed co
    untries.

    The following packages are included in this distribution that relate to cryptogr
    aphy:

    openssl
        The OpenSSL Project is a collaborative effort to develop a robust, commercia
    l-grade, full-featured, and Open Source toolkit implementing the Transport Layer
     Security (TLS) and Secure Sockets Layer (SSL) protocols as well as a full-stren
    gth general purpose cryptography library.

    pycrypto
        A collection of both secure hash functions (such as SHA256 and RIPEMD160), a
    nd 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
    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] >>>
    Please answer 'yes' or 'no':'
    >>> yes

    Anaconda2 will now be installed into this location:
    /home/gbt/anaconda2

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

    [/home/gbt/anaconda2] >>>
    PREFIX=/home/gbt/anaconda2
    installing: python-2.7.15-h1571d57_0 ...
    Python 2.7.15 :: Anaconda, Inc.
    installing: blas-1.0-mkl ...
    installing: ca-certificates-2018.03.07-0 ...
    installing: conda-env-2.6.0-h36134e3_1 ...
    installing: intel-openmp-2018.0.0-8 ...
    installing: libgcc-ng-7.2.0-hdf63c60_3 ...
    installing: libgfortran-ng-7.2.0-hdf63c60_3 ...
    installing: libstdcxx-ng-7.2.0-hdf63c60_3 ...
    installing: bzip2-1.0.6-h14c3975_5 ...
    installing: expat-2.2.5-he0dffb1_0 ...
    installing: gmp-6.1.2-h6c8ec71_1 ...
    installing: graphite2-1.3.11-h16798f4_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: libxcb-1.13-h1bed415_1 ...
    installing: lzo-2.10-h49e0be7_2 ...
    installing: mkl-2018.0.2-1 ...
    installing: ncurses-6.1-hf484d3e_0 ...
    installing: openssl-1.0.2o-h20670df_0 ...
    installing: patchelf-0.9-hf79760b_2 ...
    installing: pcre-8.42-h439df22_0 ...
    installing: pixman-0.34.0-hceecf20_3 ...
    installing: snappy-1.1.7-hbae5bb6_3 ...
    installing: tk-8.6.7-hc745277_3 ...
    installing: unixodbc-2.3.6-h1bed415_0 ...
    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.3-hdbcaa40_0 ...
    installing: glib-2.56.1-h000015b_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_1 ...
    installing: libxml2-2.9.8-h26e45fe_1 ...
    installing: mpfr-3.1.5-h11a74b3_2 ...
    installing: pandoc-1.19.2.1-hea2e7c5_1 ...
    installing: readline-7.0-ha6073c6_4 ...
    installing: zeromq-4.2.5-h439df22_0 ...
    installing: dbus-1.13.2-h714fa37_1 ...
    installing: freetype-2.8-hab7d2ae_1 ...
    installing: gstreamer-1.14.0-hb453b48_1 ...
    installing: libcurl-7.60.0-h1ad7b7a_0 ...
    installing: libxslt-1.1.32-h1312cb7_0 ...
    installing: mpc-1.0.3-hec55b23_5 ...
    installing: sqlite-3.23.1-he433501_0 ...
    installing: curl-7.60.0-h84994c4_0 ...
    installing: fontconfig-2.12.6-h49f89f6_0 ...
    installing: gst-plugins-base-1.14.0-hbbd80ab_1 ...
    installing: alabaster-0.7.10-py27he5a193a_0 ...
    installing: asn1crypto-0.24.0-py27_0 ...
    installing: attrs-18.1.0-py27_0 ...
    installing: backports-1.0-py27h63c9359_1 ...
    installing: backports_abc-0.5-py27h7b3c97b_0 ...
    installing: beautifulsoup4-4.6.0-py27h3f86ba9_1 ...
    installing: bitarray-0.8.1-py27h14c3975_1 ...
    installing: boto-2.48.0-py27h9556ac2_1 ...
    installing: cairo-1.14.12-h7636065_2 ...
    installing: cdecimal-2.3-py27h14c3975_3 ...
    installing: certifi-2018.4.16-py27_0 ...
    installing: chardet-3.0.4-py27hfa10054_1 ...
    installing: click-6.7-py27h4225b90_0 ...
    installing: cloudpickle-0.5.3-py27_0 ...
    installing: colorama-0.3.9-py27h5cde069_0 ...
    installing: configparser-3.5.0-py27h5117587_0 ...
    installing: contextlib2-0.5.5-py27hbf4c468_0 ...
    installing: dask-core-0.17.5-py27_0 ...
    installing: decorator-4.3.0-py27_0 ...
    installing: docutils-0.14-py27hae222c1_0 ...
    installing: enum34-1.1.6-py27h99a27e9_1 ...
    installing: et_xmlfile-1.0.1-py27h75840f5_0 ...
    installing: fastcache-1.0.2-py27h14c3975_2 ...
    installing: filelock-3.0.4-py27_0 ...
    installing: funcsigs-1.0.2-py27h83f16ab_0 ...
    installing: functools32-3.2.3.2-py27h4ead58f_1 ...
    installing: futures-3.2.0-py27h7b459c0_0 ...
    installing: glob2-0.6-py27hcea9cbd_0 ...
    installing: gmpy2-2.0.8-py27h4cf3fa8_2 ...
    installing: greenlet-0.4.13-py27h14c3975_0 ...
    installing: grin-1.2.1-py27_4 ...
    installing: heapdict-1.0.0-py27_2 ...
    installing: idna-2.6-py27h5722d68_1 ...
    installing: imagesize-1.0.0-py27_0 ...
    installing: ipaddress-1.0.22-py27_0 ...
    installing: ipython_genutils-0.2.0-py27h89fb69b_0 ...
    installing: itsdangerous-0.24-py27hb8295c1_1 ...
    installing: jdcal-1.4-py27_0 ...
    installing: kiwisolver-1.0.1-py27hc15e7b5_0 ...
    installing: lazy-object-proxy-1.3.1-py27h682c727_0 ...
    installing: locket-0.2.0-py27h73929a2_1 ...
    installing: lxml-4.2.1-py27h23eabaa_0 ...
    installing: markupsafe-1.0-py27h97b2822_1 ...
    installing: mccabe-0.6.1-py27h0e7c7be_1 ...
    installing: mistune-0.8.3-py27h14c3975_1 ...
    installing: mkl-service-1.1.2-py27hb2d42c5_4 ...
    installing: mpmath-1.0.0-py27h9669132_2 ...
    installing: msgpack-python-0.5.6-py27h6bb024c_0 ...
    installing: multipledispatch-0.5.0-py27_0 ...
    installing: numpy-base-1.14.3-py27h9be14a7_1 ...
    installing: olefile-0.45.1-py27_0 ...
    installing: pandocfilters-1.4.2-py27h428e1e5_1 ...
    installing: parso-0.2.0-py27_0 ...
    installing: path.py-11.0.1-py27_0 ...
    installing: pep8-1.7.1-py27_0 ...
    installing: pkginfo-1.4.2-py27_1 ...
    installing: pluggy-0.6.0-py27h1f4f128_0 ...
    installing: ply-3.11-py27_0 ...
    installing: psutil-5.4.5-py27h14c3975_0 ...
    installing: ptyprocess-0.5.2-py27h4ccb14c_0 ...
    installing: py-1.5.3-py27_0 ...
    installing: pycodestyle-2.4.0-py27_0 ...
    installing: pycosat-0.6.3-py27ha4109ae_0 ...
    installing: pycparser-2.18-py27hefa08c5_1 ...
    installing: pycrypto-2.6.1-py27h14c3975_8 ...
    installing: pycurl-7.43.0.1-py27hb7f436b_0 ...
    installing: pyodbc-4.0.23-py27hf484d3e_0 ...
    installing: pyparsing-2.2.0-py27hf1513f8_1 ...
    installing: pysocks-1.6.8-py27_0 ...
    installing: pytz-2018.4-py27_0 ...
    installing: pyyaml-3.12-py27h2d70dd7_1 ...
    installing: pyzmq-17.0.0-py27h14c3975_1 ...
    installing: qt-5.9.5-h7e424d6_0 ...
    installing: qtpy-1.4.1-py27_0 ...
    installing: rope-0.10.7-py27hfe459b0_0 ...
    installing: ruamel_yaml-0.15.35-py27h14c3975_1 ...
    installing: scandir-1.7-py27h14c3975_0 ...
    installing: send2trash-1.5.0-py27_0 ...
    installing: simplegeneric-0.8.1-py27_2 ...
    installing: sip-4.19.8-py27hf484d3e_0 ...
    installing: six-1.11.0-py27h5f960f1_1 ...
    installing: snowballstemmer-1.2.1-py27h44e2768_0 ...
    installing: sortedcontainers-1.5.10-py27_0 ...
    installing: sphinxcontrib-1.0-py27h1512b58_1 ...
    installing: sqlalchemy-1.2.7-py27h6b74fdf_0 ...
    installing: subprocess32-3.5.0-py27h14c3975_0 ...
    installing: tblib-1.3.2-py27h51fe5ba_0 ...
    installing: toolz-0.9.0-py27_0 ...
    installing: typing-3.6.4-py27_0 ...
    installing: unicodecsv-0.14.1-py27h5062da9_0 ...
    installing: wcwidth-0.1.7-py27h9e3e1ab_0 ...
    installing: webencodings-0.5.1-py27hff10b21_1 ...
    installing: werkzeug-0.14.1-py27_0 ...
    installing: wrapt-1.10.11-py27h04f6869_0 ...
    installing: xlrd-1.1.0-py27ha77178f_1 ...
    installing: xlsxwriter-1.0.4-py27_0 ...
    installing: xlwt-1.3.0-py27h3d85d97_0 ...
    installing: babel-2.5.3-py27_0 ...
    installing: backports.shutil_get_terminal_size-1.0.0-py27h5bc021e_2 ...
    installing: cffi-1.11.5-py27h9745a5d_0 ...
    installing: conda-verify-2.0.0-py27hf052a9d_0 ...
    installing: cycler-0.10.0-py27hc7354d3_0 ...
    installing: cytoolz-0.9.0.1-py27h14c3975_0 ...
    installing: entrypoints-0.2.3-py27h502b47d_2 ...
    installing: harfbuzz-1.7.6-h5f0a787_1 ...
    installing: html5lib-1.0.1-py27h5233db4_0 ...
    installing: jedi-0.12.0-py27_1 ...
    installing: llvmlite-0.23.1-py27hdbcaa40_0 ...
    installing: more-itertools-4.1.0-py27_0 ...
    installing: networkx-2.1-py27_0 ...
    installing: nltk-3.3.0-py27_0 ...
    installing: openpyxl-2.5.3-py27_0 ...
    installing: packaging-17.1-py27_0 ...
    installing: partd-0.3.8-py27h4e55004_0 ...
    installing: pathlib2-2.3.2-py27_0 ...
    installing: pexpect-4.5.0-py27_0 ...
    installing: pillow-5.1.0-py27h3deb7b8_0 ...
    installing: pycairo-1.15.4-py27h1b9232e_1 ...
    installing: pyqt-5.9.2-py27h751905a_0 ...
    installing: python-dateutil-2.7.3-py27_0 ...
    installing: qtawesome-0.4.4-py27hd7914c3_0 ...
    installing: setuptools-39.1.0-py27_0 ...
    installing: singledispatch-3.4.0.3-py27h9bcb476_0 ...
    installing: sortedcollections-0.6.1-py27_0 ...
    installing: sphinxcontrib-websupport-1.0.1-py27hf906f22_1 ...
    installing: ssl_match_hostname-3.5.0.1-py27h4ec10b9_2 ...
    installing: sympy-1.1.1-py27hc28188a_0 ...
    installing: traitlets-4.3.2-py27hd6ce930_0 ...
    installing: zict-0.1.3-py27h12c336c_0 ...
    installing: backports.functools_lru_cache-1.5-py27_1 ...
    installing: bleach-2.1.3-py27_0 ...
    installing: clyent-1.2.2-py27h7276e6c_1 ...
    installing: cryptography-2.2.2-py27h14c3975_0 ...
    installing: cython-0.28.2-py27h14c3975_0 ...
    installing: get_terminal_size-1.0.0-haa9412d_0 ...
    installing: gevent-1.3.0-py27h14c3975_0 ...
    installing: isort-4.3.4-py27_0 ...
    installing: jinja2-2.10-py27h4114e70_0 ...
    installing: jsonschema-2.6.0-py27h7ed5aa4_0 ...
    installing: jupyter_core-4.4.0-py27h345911c_0 ...
    installing: navigator-updater-0.2.1-py27_0 ...
    installing: nose-1.3.7-py27heec2199_2 ...
    installing: pango-1.41.0-hd475d92_0 ...
    installing: pickleshare-0.7.4-py27h09770e1_0 ...
    installing: pyflakes-1.6.0-py27h904a57d_0 ...
    installing: pygments-2.2.0-py27h4a8b6f5_0 ...
    installing: pytest-3.5.1-py27_0 ...
    installing: testpath-0.3.1-py27hc38d2c4_0 ...
    installing: tornado-5.0.2-py27_0 ...
    installing: wheel-0.31.1-py27_0 ...
    installing: astroid-1.6.3-py27_0 ...
    installing: distributed-1.21.8-py27_0 ...
    installing: flask-1.0.2-py27_1 ...
    installing: jupyter_client-5.2.3-py27_0 ...
    installing: nbformat-4.4.0-py27hed7f2b2_0 ...
    installing: pip-10.0.1-py27_0 ...
    installing: prompt_toolkit-1.0.15-py27h1b593e1_0 ...
    installing: pyopenssl-18.0.0-py27_0 ...
    installing: terminado-0.8.1-py27_1 ...
    installing: flask-cors-3.0.4-py27_0 ...
    installing: ipython-5.7.0-py27_0 ...
    installing: nbconvert-5.3.1-py27he041f76_0 ...
    installing: pylint-1.8.4-py27_0 ...
    installing: urllib3-1.22-py27ha55213b_0 ...
    installing: ipykernel-4.8.2-py27_0 ...
    installing: requests-2.18.4-py27hc5b0589_1 ...
    installing: anaconda-client-1.6.14-py27_0 ...
    installing: jupyter_console-5.2.0-py27hc6bee7e_1 ...
    installing: notebook-5.5.0-py27_0 ...
    installing: qtconsole-4.3.1-py27hc444b0d_0 ...
    installing: sphinx-1.7.4-py27_0 ...
    installing: anaconda-navigator-1.8.7-py27_0 ...
    installing: anaconda-project-0.8.2-py27h236b58a_0 ...
    installing: jupyterlab_launcher-0.10.5-py27_0 ...
    installing: numpydoc-0.8.0-py27_0 ...
    installing: widgetsnbextension-3.2.1-py27_0 ...
    installing: ipywidgets-7.2.1-py27_0 ...
    installing: jupyterlab-0.32.1-py27_0 ...
    installing: spyder-3.2.8-py27_0 ...
    installing: _ipyw_jlab_nb_ext_conf-0.1.0-py27h08a7f0c_0 ...
    installing: jupyter-1.0.0-py27_4 ...
    installing: astropy-2.0.6-py27h3010b51_1 ...
    installing: bokeh-0.12.16-py27_0 ...
    installing: bottleneck-1.2.1-py27h21b16a3_0 ...
    installing: conda-4.5.4-py27_0 ...
    installing: conda-build-3.10.5-py27_0 ...
    installing: datashape-0.5.4-py27hf507385_0 ...
    installing: h5py-2.7.1-py27ha1f6525_2 ...
    installing: imageio-2.3.0-py27_0 ...
    installing: matplotlib-2.2.2-py27h0e671d2_1 ...
    installing: mkl_fft-1.0.1-py27h3010b51_0 ...
    installing: mkl_random-1.0.1-py27h629b387_0 ...
    installing: numpy-1.14.3-py27hcd700cb_1 ...
    installing: numba-0.38.0-py27h637b7d7_0 ...
    installing: numexpr-2.6.5-py27h7bf3b9c_0 ...
    installing: pandas-0.23.0-py27h637b7d7_0 ...
    installing: pywavelets-0.5.2-py27hecda097_0 ...
    installing: scipy-1.1.0-py27hfc37229_0 ...
    installing: bkcharts-0.2-py27h241ae91_0 ...
    installing: dask-0.17.5-py27_0 ...
    installing: patsy-0.5.0-py27_0 ...
    installing: pytables-3.4.3-py27h02b9ad4_2 ...
    installing: scikit-learn-0.19.1-py27h445a80a_0 ...
    installing: odo-0.5.1-py27h9170de3_0 ...
    installing: scikit-image-0.13.1-py27h14c3975_1 ...
    installing: statsmodels-0.9.0-py27h3010b51_0 ...
    installing: blaze-0.11.3-py27h5f341da_0 ...
    installing: seaborn-0.8.1-py27h633ea1e_0 ...
    installing: anaconda-5.2.0-py27_3 ...
    installation finished.
    Do you wish the installer to prepend the Anaconda2 install location
    to PATH in your /home/gbt/.bashrc ? [yes|no]
    [no] >>> yes

    Appending source /home/gbt/anaconda2/bin/activate to /home/gbt/.bashrc
    A backup will be made to: /home/gbt/.bashrc-anaconda2.bak


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

    Thank you for installing Anaconda2!

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

    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]
    >>> yes
    Proceeding with installation of Microsoft VSCode
    Checking Internet connectivity ...
    Installing Visual Studio Code ...
    [sudo] gbt 的密码:
    对不起,请重试。
    [sudo] gbt 的密码:
    对不起,请重试。
    [sudo] gbt 的密码:
    OK
    获取:1 file:/var/cuda-repo-8-0-local-cublas-performance-update  InRelease
    忽略:1 file:/var/cuda-repo-8-0-local-cublas-performance-update  InRelease
    获取:2 file:/var/cuda-repo-8-0-local-ga2  InRelease
    忽略:2 file:/var/cuda-repo-8-0-local-ga2  InRelease
    获取:3 file:/var/cuda-repo-8-0-local-cublas-performance-update  Release [574 B]
    获取:3 file:/var/cuda-repo-8-0-local-cublas-performance-update  Release [574 B]
    获取:4 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
    获取:4 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
    命中:7 http://cn.archive.ubuntu.com/ubuntu xenial InRelease                    
    获取:8 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]    
    获取:9 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]   
    命中:10 https://download.sublimetext.com apt/stable/ InRelease                 
    获取:11 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
    获取:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
    获取:13 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [849 kB]
    获取:14 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
    命中:15 http://linux.teamviewer.com/deb stable InRelease                       
    命中:16 http://linux.teamviewer.com/deb preview InRelease                      
    获取:17 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [107 kB]
    获取:18 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [142 kB]
    获取:19 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [763 kB]
    获取:20 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
    获取:21 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
    获取:22 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [683 kB]
    获取:23 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [625 kB]
    获取:24 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [247 kB]
    获取:25 http://cn.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [341 kB]
    获取:26 http://cn.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
    获取:27 http://cn.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
    获取:28 http://cn.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,328 B]
    获取:29 http://cn.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,100 B]
    已下载 4,790 kB,耗时 29秒 (162 kB/s)                                          
    AppStream cache update completed, but some metadata was ignored due to errors.
    正在读取软件包列表... 完成
    正在读取软件包列表... 完成
    正在分析软件包的依赖关系树       
    正在读取状态信息... 完成       
    ca-certificates 已经是最新版 (20170717~16.04.1)。
    下列软件包是自动安装的并且现在不需要了:
      linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
      linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
      linux-image-4.13.0-36-generic linux-image-4.13.0-37-generic
      linux-image-4.13.0-38-generic linux-image-extra-4.13.0-36-generic
      linux-image-extra-4.13.0-37-generic linux-image-extra-4.13.0-38-generic
      linux-signed-image-4.13.0-37-generic linux-signed-image-4.13.0-38-generic
    使用'sudo apt autoremove'来卸载它(它们)。
    下列软件包将被升级:
      apt-transport-https
    升级了 1 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 306 个软件包未被升级。
    需要下载 26.1 kB 的归档。
    解压缩后会消耗 0 B 的额外空间。
    获取:1 http://cn.archive.ubuntu.com/ubuntu xenial-updates/main amd64 apt-transport-https amd64 1.2.27 [26.1 kB]
    已下载 26.1 kB,耗时 1秒 (17.3 kB/s)                       
    (正在读取数据库 ... 系统当前共安装有 379592 个文件和目录。)
    正准备解包 .../apt-transport-https_1.2.27_amd64.deb  ...
    正在将 apt-transport-https (1.2.27) 解包到 (1.2.26) 上 ...
    正在设置 apt-transport-https (1.2.27) ...
    W: --force-yes 已经被废弃,请使用以 --allow 开头的选项来代替。
    获取:1 file:/var/cuda-repo-8-0-local-cublas-performance-update  InRelease
    忽略:1 file:/var/cuda-repo-8-0-local-cublas-performance-update  InRelease
    获取:2 file:/var/cuda-repo-8-0-local-ga2  InRelease
    忽略:2 file:/var/cuda-repo-8-0-local-ga2  InRelease
    获取:3 file:/var/cuda-repo-8-0-local-cublas-performance-update  Release [574 B]
    获取:4 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
    获取:3 file:/var/cuda-repo-8-0-local-cublas-performance-update  Release [574 B]
    获取:4 file:/var/cuda-repo-8-0-local-ga2  Release [574 B]
    命中:7 http://cn.archive.ubuntu.com/ubuntu xenial InRelease                    
    命中:8 http://security.ubuntu.com/ubuntu xenial-security InRelease             
    命中:9 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease            
    命中:10 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease         
    获取:11 https://packages.microsoft.com/repos/vscode stable InRelease [2,802 B]
    获取:12 https://packages.microsoft.com/repos/vscode stable/main amd64 Packages [64.1 kB]
    命中:13 http://linux.teamviewer.com/deb stable InRelease                       
    命中:14 http://linux.teamviewer.com/deb preview InRelease                      
    命中:15 https://download.sublimetext.com apt/stable/ InRelease                 
    已下载 67.0 kB,耗时 33秒 (2,002 B/s)
    正在读取软件包列表... 完成
    正在读取软件包列表... 完成
    正在分析软件包的依赖关系树       
    正在读取状态信息... 完成       
    下列软件包是自动安装的并且现在不需要了:
      linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
      linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
      linux-image-4.13.0-36-generic linux-image-4.13.0-37-generic
      linux-image-4.13.0-38-generic linux-image-extra-4.13.0-36-generic
      linux-image-extra-4.13.0-37-generic linux-image-extra-4.13.0-38-generic
      linux-signed-image-4.13.0-37-generic linux-signed-image-4.13.0-38-generic
    使用'sudo apt autoremove'来卸载它(它们)。
    下列【新】软件包将被安装:
      code
    升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 306 个软件包未被升级。
    需要下载 45.4 MB 的归档。
    解压缩后会消耗 205 MB 的额外空间。
    获取:1 https://packages.microsoft.com/repos/vscode stable/main amd64 code amd64 1.27.2-1536736588 [45.4 MB]
    5% [1 code 2,736 kB/45.4 MB 6%]                                                
    5% [1 code 2,736 kB/45.4 MB 6%]^[[C^[[C^[[C^[[C^[[C^[[C^[[C
    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]


    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]
    5% [1 code 2,736 kB/45.4 MB 6%]
    错误:1 https://packages.microsoft.com/repos/vscode stable/main amd64 code amd64 1.27.2-1536736588
      Operation too slow. Less than 10 bytes/sec transferred the last 120 seconds
    E: 下载 https://packages.microsoft.com/repos/vscode/pool/main/c/code/code_1.27.2-1536736588_amd64.deb  Operation too slow. Less than 10 bytes/sec transferred the last 120 seconds 失败

    E: 有几个软件包无法下载,要不运行 apt-get update 或者加上 --fix-missing 的选项再试试?
       Unable to install VSCode!
       Check /home/gbt/anaconda2/vscode_inst.py.log for more info
       Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>>    Do you wish to retry? [yes|no]
    [no] >>> no
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ vim ~/.bashrc

    export PATH=$PATH:home/gbt/anaconda2
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ source ~/.bashrc
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ conda
    usage: conda [-h] [-V] command ...

    conda is a tool for managing and deploying applications, environments and packages.

    Options:

    positional arguments:
      command
        clean        Remove unused packages and caches.
        config       Modify configuration values in .condarc. This is modeled
                     after the git config command. Writes to the user .condarc
                     file (/home/gbt/.condarc) by default.
        create       Create a new conda environment from a list of specified
                     packages.
        help         Displays a list of available conda commands and their help
                     strings.
        info         Display information about current conda install.
        install      Installs a list of packages into a specified conda
                     environment.
        list         List linked packages in a conda environment.
        package      Low-level conda package utility. (EXPERIMENTAL)
        remove       Remove a list of packages from a specified conda environment.
        uninstall    Alias for conda remove. See conda remove --help.
        search       Search for packages and display associated information. The
                     input is a MatchSpec, a query language for conda packages.
                     See examples below.
        update       Updates conda packages to the latest compatible version. This
                     command accepts a list of package names and updates them to
                     the latest versions that are compatible with all other
                     packages in the environment. Conda attempts to install the
                     newest versions of the requested packages. To accomplish
                     this, it may update some packages that are already installed,
                     or install additional packages. To prevent existing packages
                     from updating, use the --no-update-deps option. This may
                     force conda to install older versions of the requested
                     packages, and it does not prevent additional dependency
                     packages from being installed. If you wish to skip dependency
                     checking altogether, use the '--force' option. This may
                     result in an environment with incompatible packages, so this
                     option must be used with great caution.
        upgrade      Alias for conda update. See conda update --help.

    optional arguments:
      -h, --help     Show this help message and exit.
      -V, --version  Show the conda version number and exit.

    conda commands available from other packages:
      build
      convert
      develop
      env
      index
      inspect
      metapackage
      render
      server
      skeleton
      verify
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$ ipython notebook
    [TerminalIPythonApp] WARNING | Subcommand `ipython notebook` is deprecated and will be removed in future versions.
    [TerminalIPythonApp] WARNING | You likely want to use `jupyter notebook` in the future
    [I 21:38:19.069 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
    [I 21:38:19.098 NotebookApp] JupyterLab beta preview extension loaded from /home/gbt/anaconda2/lib/python2.7/site-packages/jupyterlab
    [I 21:38:19.099 NotebookApp] JupyterLab application directory is /home/gbt/anaconda2/share/jupyter/lab
    [I 21:38:19.102 NotebookApp] Serving notebooks from local directory: /home/gbt/Anaconda
    [I 21:38:19.102 NotebookApp] 0 active kernels
    [I 21:38:19.102 NotebookApp] The Jupyter Notebook is running at:
    [I 21:38:19.102 NotebookApp] http://localhost:8888/?token=f81a5ada1ca2dd66d96bcd9afdbdf2412df83310edfa29a7
    [I 21:38:19.102 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    [C 21:38:19.103 NotebookApp]
        
        Copy/paste this URL into your browser when you connect for the first time,
        to login with a token:
            http://localhost:8888/?token=f81a5ada1ca2dd66d96bcd9afdbdf2412df83310edfa29a7&token=f81a5ada1ca2dd66d96bcd9afdbdf2412df83310edfa29a7
    [I 21:38:19.347 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1
    [I 21:38:27.434 NotebookApp] Creating new notebook in
    [I 21:38:27.635 NotebookApp] Writing notebook-signing key to /home/gbt/.local/share/jupyter/notebook_secret
    [I 21:38:28.571 NotebookApp] Kernel started: 685b2a9d-cb1f-4dfa-ae3d-b3540d2d85e0
    [I 21:38:29.150 NotebookApp] Adapting to protocol v5.1 for kernel 685b2a9d-cb1f-4dfa-ae3d-b3540d2d85e0
    [I 21:39:17.326 NotebookApp] Saving file at /Untitled.ipynb
    ^C[I 21:39:53.093 NotebookApp] interrupted
    Serving notebooks from local directory: /home/gbt/Anaconda
    1 active kernel
    The Jupyter Notebook is running at:
    http://localhost:8888/?token=f81a5ada1ca2dd66d96bcd9afdbdf2412df83310edfa29a7
    Shutdown this notebook server (y/[n])? y
    [C 21:39:55.029 NotebookApp] Shutdown confirmed
    [I 21:39:55.030 NotebookApp] Shutting down 1 kernel
    [I 21:39:55.332 NotebookApp] Kernel shutdown: 685b2a9d-cb1f-4dfa-ae3d-b3540d2d85e0
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$
    gbt@gbt-Precision-7720:~/Anaconda$


  • 相关阅读:
    Vim作者创造新编程语言Zimbu
    Google Maps API编程资源大全
    好网收集的地址
    三种模拟自动登录和提交POST信息的实现方法
    解析VMware三种网络连接方式
    PostgreSQL 创建帐号,数据库,权限
    LINUX目录详解
    Linux流媒体服务器安装配置
    用RAMDISK来提高PostgreSQL访问速度
    PostgreSQL 集群复制方案之使用pgq和londiste工具包
  • 原文地址:https://www.cnblogs.com/herd/p/9652347.html
Copyright © 2011-2022 走看看