§2025-04-29
試作機器: mail.n2128gNoble.yushei.net, 192.168.2.22
- Download
$ cd build/src
$ wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-aarch64.sh
- 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!
- 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
- activate
(base) alexlai@mail:~$ conda activate PyTorch
(PyTorch) alexlai@mail:~$ which python
/home/alexlai/build/src/yes/envs/PyTorch/bin/python
(PyTorch) alexlai@mail:~$ python --version
Python 3.13.3
(PyTorch) alexlai@mail:~$ which R
/home/alexlai/build/src/yes/envs/PyTorch/bin/R
(PyTorch) alexlai@mail:~$ R --version
R version 4.4.3 (2025-02-28) -- "Trophy Case"
Copyright (C) 2025 The R Foundation for Statistical Computing
Platform: aarch64-conda-linux-gnu
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
https://www.gnu.org/licenses/.