在 Ubuntu 系统上安装 Anaconda 是一个直接的过程。Anaconda 是一个流行的 Python 和 R 数据科学及机器学习平台,它包括了许多科学计算和数据处理的库。以下是在 Ubuntu 上安装 Anaconda 的步骤:
1. 下载 Anaconda 安装脚本
首先,需要从 Anaconda 的官方网站下载安装脚本。
-
访问 Anaconda 官网。
-
滚动到 "Anaconda Installers" 部分,并下载适用于 Linux 的 Anaconda 安装程序。
-
或者,您可以使用
wget
在终端中直接下载。找到适用于 Linux 的安装脚本链接,并使用类似以下的命令:bashwget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
确保链接指向最新版本。
2. 运行安装脚本
在下载完成后,运行安装脚本。
-
赋予脚本执行权限:
bashchmod +x Anaconda3-2023.09-0-Linux-x86_64.sh
-
运行安装脚本:
bash
sh Anaconda3-2023.09-0-Linux-x86_64.sh
跟随屏幕上的指示完成安装。
### 3. 接受许可协议
在安装过程中,您需要阅读并同意许可协议。
### 4. 选择安装位置
安装程序会提示您选择安装位置。您可以接受默认位置或指定新位置。
### 5. 初始化 Anaconda
在安装的最后阶段,安装程序会询问您是否将 Anaconda 添加到您的 PATH 环境变量。建议您同意这一操作,以便在终端中直接使用 Anaconda。
### 6. 重新加载终端或重新登录
安装完成后,您可能需要重新加载您的终端或注销并重新登录,以使更改生效。
### 7. 验证安装
打开一个新的终端窗口并输入以下命令,以验证 Anaconda 是否已正确安装:
```bash
conda list
8. 更新 Anaconda
建议更新 Anaconda 到最新版本:
bash
conda update --all
注意事项
- 确保您的系统满足 Anaconda 的要求。
- 在执行安装脚本时,请仔细阅读屏幕上的提示。
- 如果您不希望 Anaconda 添加到您的 PATH 中,您可以手动激活 Anaconda 环境。
现在,您应该已经成功在 Ubuntu 上安装了 Anaconda,并可以开始使用它进行数据科学和机器学习项目了。
bash
base) sh@sh:~$
(base) sh@sh:~$ sh 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
>>>
==================================================
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 governs your use of Anaconda Distribution (which was formerly known as A
naconda Individual Edition).
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, and;
* Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modification subject to the requirements set forth below, and;
Anaconda may, at its option, make available patches, workarounds or other updates to Anaconda Distribution. Unless the updates are provided with their separate governing terms, they are deeme
d part of Anaconda Distribution licensed to you as provided in this Agreement. This Agreement does not entitle you to any support for Anaconda Distribution.
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 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, this list of conditions and the following disclaimer in the documentation and/or other materials provided with th
e distribution.
* Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
* The purpose of the redistribution is not part of a commercial product for resale. Please contact the Anaconda team for a third party redistribution commercial license
* Commercial usage of the repository is non-compliant with our Terms of Service . Please contact us to learn more about our commercial offerings.
You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual property rights, in and to Anaconda Distribution and, with respect
to third-party products distributed with or through Anaconda Distribution, the applicable third-party licensors own all right, title and interest, including all intellectual property rights,
in and to such products. If you send or transmit any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, including without limitation
, new features or functionality relating thereto, or any comments, questions, suggestions or the like ("Feedback"), Anaconda is free to use such Feedback. You hereby assign to Anaconda all ri
ght, title, and interest in, and Anaconda is free to use, without any attribution or compensation to any party, any ideas, know-how, concepts, techniques or other intellectual property rights
contained in the Feedback, for any purpose whatsoever, although Anaconda is not required to use any Feedback.
THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO
, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, O
R 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.
TO THE MAXIMUM EXTENT PERMITTED BY LAW, ANACONDA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS OF USE, LOSS
OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF ANACONDA DISTRIBUTION, WHETHER SUC
H LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF LIABILITY. IN NO
EVENT WILL THE TOTAL CUMULATIVE LIABILITY OF ANACONDA AND ITS AFFILIATES UNDER 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 any time, terminate this Agreement and the license granted hereunder if
you fail to comply with any term of this Agreement. Upon any termination of this Agreement, you agree to promptly discontinue use of the Anaconda Distribution and destroy all copies in you
r possession or control. Upon any termination of this 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 effect to any choice or conflict of law provision or rule that would requ
ire or permit the application of the laws of any jurisdiction other than those of the State of Texas. Any legal suit, action, or proceeding arising out of or related to this Agreement or the
licenses granted hereunder by you must be instituted exclusively in the federal courts of the United States or the courts of the State of Texas in each case located in Travis County, Texas, a
nd you irrevocably submit to the jurisdiction of such courts in any such suit, action, or proceeding.
Notice of Third Party Software Licenses
=======================================
Anaconda Distribution provides access to a repository which contains software packages or tools licensed on an open source basis from third parties and binary packages of these third party to
ols. These third party software packages or tools are provided on an "as is" basis and are subject to their respective license agreements as well as this Agreement and the Terms of Service fo
r the Repository located at https://know.anaconda.com/TOS.html; provided, however, no restriction contained in the Terms of Service shall be construed so as to limit Your ability to download
the packages contained in Anaconda Distribution provided you comply with the license for each such package. These licenses may be accessed from within the Anaconda Distribution software or h
ttps://www.anaconda.com/legal. Information regarding which license is applicable is available from within many of the third party software packages and tools and at https://repo.anaconda.com/
pkgs/main/ and https://repo.anaconda.com/pkgs/r/. Anaconda reserves the right, in its sole discretion, to change which third party tools are included in the repository accessible through Anac
onda Distribution.
Intel Math Kernel Library
-------------------------
Anaconda Distribution provides access to re-distributable, run-time, shared-library files from the Intel Math Kernel Library ("MKL binaries").
Copyright 2018 Intel Corporation. License available at https://software.intel.com/en-us/license/intel-simplified-software-license (the "MKL License").
You may use and redistribute the MKL binaries, without modification, provided the following conditions are met:
* Redistributions must reproduce the above copyright notice and the following terms of use in the MKL binaries and in the documentation and/or other materials provided with the distribution
.
* Neither the name of Intel nor the names of its suppliers may be used to endorse or promote products derived from the MKL binaries without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of the MKL binaries is permitted.
You are specifically authorized to use and redistribute the MKL binaries with your installation of Anaconda Distribution subject to the terms set forth in the MKL License. You are also author
ized to redistribute the MKL binaries with Anaconda Distribution or in the Anaconda package that contains the MKL binaries. If needed, instructions for removing the MKL binaries after install
ation of Anaconda Distribution are available at https://docs.anaconda.com.
cuDNN Software
--------------
Anaconda Distribution also provides access to cuDNN software binaries ("cuDNN binaries") from NVIDIA Corporation. You are specifically authorized to use the cuDNN binaries with your installat
ion of Anaconda Distribution subject to your compliance with the license agreement located at https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html. You are also authorized to redistr
ibute the cuDNN binaries with an Anaconda Distribution package that contains the cuDNN binaries. You can add or remove the cuDNN binaries utilizing the install and uninstall features in Anaco
nda Distribution.
cuDNN binaries contain source code provided by NVIDIA Corporation.
Arm Performance Libraries
-------------------------
Arm Performance Libraries (Free Version): Anaconda provides access to software and related documentation from the Arm Performance Libraries ("Arm PL") provided by Arm Limited. By installing o
r otherwise accessing the Arm PL, you acknowledge and agree that use and distribution of the Arm PL is subject to your compliance with the Arm PL end user license agreement located at: https:
//developer.arm.com/tools-and-software/server-and-hpc/downloads/arm-performance-libraries/eula.
Export; Cryptography Notice
===========================
You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end users, and end use. Anaconda Distr
ibution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption sof
tware. 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 permitted. See the Wassenaar Arrangement http://www.wassenaar.org/ for more information.
Anaconda has self-classified this software as Export Commodity Control Number (ECCN) EAR99 which includes mass market information security software using or performing cryptographic functions
with asymmetric algorithms. No license is required for export of this software to non-embargoed countries.
The Intel Math Kernel Library contained in Anaconda Distribution is classified by Intel as ECCN 5D992.c with no license required for export to non-embargoed countries.
The following packages listed on https://www.anaconda.com/cryptography are included in the repository accessible through Anaconda Distribution that relate to cryptography.
Last updated February 25, 2022
Do you accept the license terms? [yes|no]
[no] >>>
The license agreement wasn't approved, aborting installation.
(base) sh@sh:~$ sh 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
>>>
==================================================
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 governs your use of Anaconda Distribution (which was formerly known as A
naconda Individual Edition).
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, and;
* Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modification subject to the requirements set forth below, and;
Anaconda may, at its option, make available patches, workarounds or other updates to Anaconda Distribution. Unless the updates are provided with their separate governing terms, they are deeme
d part of Anaconda Distribution licensed to you as provided in this Agreement. This Agreement does not entitle you to any support for Anaconda Distribution.
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 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, this list of conditions and the following disclaimer in the documentation and/or other materials provided with th
e distribution.
* Neither the name of Anaconda nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
* The purpose of the redistribution is not part of a commercial product for resale. Please contact the Anaconda team for a third party redistribution commercial license
* Commercial usage of the repository is non-compliant with our Terms of Service . Please contact us to learn more about our commercial offerings.
You acknowledge that, as between you and Anaconda, Anaconda owns all right, title, and interest, including all intellectual property rights, in and to Anaconda Distribution and, with respect
to third-party products distributed with or through Anaconda Distribution, the applicable third-party licensors own all right, title and interest, including all intellectual property rights,
in and to such products. If you send or transmit any communications or materials to Anaconda suggesting or recommending changes to the software or documentation, including without limitation
, new features or functionality relating thereto, or any comments, questions, suggestions or the like ("Feedback"), Anaconda is free to use such Feedback. You hereby assign to Anaconda all ri
ght, title, and interest in, and Anaconda is free to use, without any attribution or compensation to any party, any ideas, know-how, concepts, techniques or other intellectual property rights
contained in the Feedback, for any purpose whatsoever, although Anaconda is not required to use any Feedback.
THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO
, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, O
R 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.
TO THE MAXIMUM EXTENT PERMITTED BY LAW, ANACONDA AND ITS AFFILIATES SHALL NOT BE LIABLE FOR ANY SPECIAL, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, OR ANY LOST PROFITS, LOSS OF USE, LOSS
OF DATA OR LOSS OF GOODWILL, OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE OF ANACONDA DISTRIBUTION, WHETHER SUC
H LIABILITY ARISES FROM ANY CLAIM BASED UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR THEORY OF LIABILITY. IN NO
EVENT WILL THE TOTAL CUMULATIVE LIABILITY OF ANACONDA AND ITS AFFILIATES UNDER 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 any time, terminate this Agreement and the license granted hereunder if
you fail to comply with any term of this Agreement. Upon any termination of this Agreement, you agree to promptly discontinue use of the Anaconda Distribution and destroy all copies in you
r possession or control. Upon any termination of this 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 effect to any choice or conflict of law provision or rule that would requ
ire or permit the application of the laws of any jurisdiction other than those of the State of Texas. Any legal suit, action, or proceeding arising out of or related to this Agreement or the
licenses granted hereunder by you must be instituted exclusively in the federal courts of the United States or the courts of the State of Texas in each case located in Travis County, Texas, a
nd you irrevocably submit to the jurisdiction of such courts in any such suit, action, or proceeding.
Notice of Third Party Software Licenses
=======================================
Anaconda Distribution provides access to a repository which contains software packages or tools licensed on an open source basis from third parties and binary packages of these third party to
ols. These third party software packages or tools are provided on an "as is" basis and are subject to their respective license agreements as well as this Agreement and the Terms of Service fo
r the Repository located at https://know.anaconda.com/TOS.html; provided, however, no restriction contained in the Terms of Service shall be construed so as to limit Your ability to download
the packages contained in Anaconda Distribution provided you comply with the license for each such package. These licenses may be accessed from within the Anaconda Distribution software or h
ttps://www.anaconda.com/legal. Information regarding which license is applicable is available from within many of the third party software packages and tools and at https://repo.anaconda.com/
pkgs/main/ and https://repo.anaconda.com/pkgs/r/. Anaconda reserves the right, in its sole discretion, to change which third party tools are included in the repository accessible through Anac
onda Distribution.
Intel Math Kernel Library
-------------------------
Anaconda Distribution provides access to re-distributable, run-time, shared-library files from the Intel Math Kernel Library ("MKL binaries").
Copyright 2018 Intel Corporation. License available at https://software.intel.com/en-us/license/intel-simplified-software-license (the "MKL License").
You may use and redistribute the MKL binaries, without modification, provided the following conditions are met:
* Redistributions must reproduce the above copyright notice and the following terms of use in the MKL binaries and in the documentation and/or other materials provided with the distribution
.
* Neither the name of Intel nor the names of its suppliers may be used to endorse or promote products derived from the MKL binaries without specific prior written permission.
* No reverse engineering, decompilation, or disassembly of the MKL binaries is permitted.
You are specifically authorized to use and redistribute the MKL binaries with your installation of Anaconda Distribution subject to the terms set forth in the MKL License. You are also author
ized to redistribute the MKL binaries with Anaconda Distribution or in the Anaconda package that contains the MKL binaries. If needed, instructions for removing the MKL binaries after install
ation of Anaconda Distribution are available at https://docs.anaconda.com.
cuDNN Software
--------------
Anaconda Distribution also provides access to cuDNN software binaries ("cuDNN binaries") from NVIDIA Corporation. You are specifically authorized to use the cuDNN binaries with your installat
ion of Anaconda Distribution subject to your compliance with the license agreement located at https://docs.nvidia.com/deeplearning/sdk/cudnn-sla/index.html. You are also authorized to redistr
ibute the cuDNN binaries with an Anaconda Distribution package that contains the cuDNN binaries. You can add or remove the cuDNN binaries utilizing the install and uninstall features in Anaco
nda Distribution.
cuDNN binaries contain source code provided by NVIDIA Corporation.
Arm Performance Libraries
-------------------------
Arm Performance Libraries (Free Version): Anaconda provides access to software and related documentation from the Arm Performance Libraries ("Arm PL") provided by Arm Limited. By installing o
r otherwise accessing the Arm PL, you acknowledge and agree that use and distribution of the Arm PL is subject to your compliance with the Arm PL end user license agreement located at: https:
//developer.arm.com/tools-and-software/server-and-hpc/downloads/arm-performance-libraries/eula.
Export; Cryptography Notice
===========================
You must comply with all domestic and international export laws and regulations that apply to the software, which include restrictions on destinations, end users, and end use. Anaconda Distr
ibution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption sof
tware. 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 permitted. See the Wassenaar Arrangement http://www.wassenaar.org/ for more information.
Anaconda has self-classified this software as Export Commodity Control Number (ECCN) EAR99 which includes mass market information security software using or performing cryptographic functions
with asymmetric algorithms. No license is required for export of this software to non-embargoed countries.
The Intel Math Kernel Library contained in Anaconda Distribution is classified by Intel as ECCN 5D992.c with no license required for export to non-embargoed countries.
The following packages listed on https://www.anaconda.com/cryptography are included in the repository accessible through Anaconda Distribution that relate to cryptography.
Last updated February 25, 2022
Do you accept the license terms? [yes|no]
[no] >>> yes
Anaconda3 will now be installed into this location:
/home/sh/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/home/sh/anaconda3] >>>
PREFIX=/home/sh/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
installation finished.
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/sh/anaconda3/condabin/conda
no change /home/sh/anaconda3/bin/conda
no change /home/sh/anaconda3/bin/conda-env
no change /home/sh/anaconda3/bin/activate
no change /home/sh/anaconda3/bin/deactivate
no change /home/sh/anaconda3/etc/profile.d/conda.sh
no change /home/sh/anaconda3/etc/fish/conf.d/conda.fish
no change /home/sh/anaconda3/shell/condabin/Conda.psm1
no change /home/sh/anaconda3/shell/condabin/conda-hook.ps1
no change /home/sh/anaconda3/lib/python3.11/site-packages/xontrib/conda.xsh
no change /home/sh/anaconda3/etc/profile.d/conda.csh
modified /home/sh/.bashrc
==> For changes to take effect, close and re-open your current shell. <==
Thank you for installing Anaconda3!
(base) sh@sh:~$ python -version
Unknown option: -e
usage: python [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
(base) sh@sh:~$ 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.
compare Compare packages between conda environments.
config Modify configuration values in .condarc. This is modeled after the git config command. Writes to the user .condarc file (/home/sh/.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.
init Initialize conda for shell interaction. [Experimental]
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.
run Run an executable in a conda environment. [Experimental]
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.
upgrade Alias for conda update.
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:
env
(base) sh@sh:~$
(base) sh@sh:~$
(base) sh@sh:~$ conda -V
conda 4.9.2
(base) sh@sh:~$
(base) sh@sh:~$ conda list
# packages in environment at /home/sh/miniconda3:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
brotlipy 0.7.0 py38h27cfd23_1003
ca-certificates 2020.10.14 0
certifi 2020.6.20 pyhd3eb1b0_3
cffi 1.14.3 py38h261ae71_2
chardet 3.0.4 py38h06a4308_1003
conda 4.9.2 py38h06a4308_0
conda-package-handling 1.7.2 py38h03888b9_0
cryptography 3.2.1 py38h3c74f83_1
idna 2.10 py_0
ld_impl_linux-64 2.33.1 h53a641e_7
libedit 3.1.20191231 h14c3975_1
libffi 3.3 he6710b0_2
libgcc-ng 9.1.0 hdf63c60_0
libstdcxx-ng 9.1.0 hdf63c60_0
ncurses 6.2 he6710b0_1
openssl 1.1.1h h7b6447c_0
pip 20.2.4 py38h06a4308_0
pycosat 0.6.3 py38h7b6447c_1
pycparser 2.20 py_2