§2025-04-29

試作機器: mail.n2128gNoble.yushei.net, 192.168.2.22

Anaconda Installers

  1. Download
$ cd build/src
$ wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-aarch64.sh
  1. run the script
$ bash Anaconda3-2024.10-1-Linux-aarch64.sh
...
Do you accept the license terms? [yes|no]
>>> yes

Anaconda3 will now be installed into this location:
/home/alexlai/anaconda3

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

[/home/alexlai/anaconda3] >>> yes
...
conda config --set auto_activate_base false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>> yes
no change     /home/alexlai/build/src/yes/condabin/conda
no change     /home/alexlai/build/src/yes/bin/conda
no change     /home/alexlai/build/src/yes/bin/conda-env
no change     /home/alexlai/build/src/yes/bin/activate
no change     /home/alexlai/build/src/yes/bin/deactivate
no change     /home/alexlai/build/src/yes/etc/profile.d/conda.sh
no change     /home/alexlai/build/src/yes/etc/fish/conf.d/conda.fish
no change     /home/alexlai/build/src/yes/shell/condabin/Conda.psm1
no change     /home/alexlai/build/src/yes/shell/condabin/conda-hook.ps1
no change     /home/alexlai/build/src/yes/lib/python3.12/site-packages/xontrib/conda.xsh
no change     /home/alexlai/build/src/yes/etc/profile.d/conda.csh
modified      /home/alexlai/.bashrc

==> For changes to take effect, close and re-open your current shell. <==

Thank you for installing Anaconda3!
  1. create EVV
$ conda create -n PyTorch python=3.13 r=4.4 -c conda-forge
...
#                                                                                       # To activate this environment, use                                                     #                                                                                       #     $ conda activate PyTorch                                                         #                                                                                       # To deactivate an active environment, use                                             #                                                                                       #     $ conda deactivate