zdhs@zdhs-1:/home$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 21.10
Release: 21.10
Codename: impish
root@zdhs-1:/home/zdhs#
echo ‘export PATH=”/home/zdhs/anaconda3/bin:$PATH”‘ >> ~/.bashrc
root@zdhs-1:/home/zdhs#
source ~/.bashrc
root@zdhs-1:/home/zdhs# 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 (/root/.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:
build
content-trust
convert
debug
develop
env
index
inspect
metapackage
pack
render
repo
server
skeleton
token
verify
参考连接
Ubuntu16.04下Anaconda安装完成后conda:找不到命令_hqy_nudt的博客-CSDN博客_anaconda安装后找不到
版权声明:本文为weixin_43332715原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。