AlmaLinux 8.4にAnacondaをインストールする
OSバージョンの確認
# cat /etc/redhat-release
AlmaLinux release 8.4 (Electric Cheetah)
# cat /etc/redhat-release
AlmaLinux release 8.4 (Electric Cheetah)
# cat /etc/redhat-release AlmaLinux release 8.4 (Electric Cheetah)
1.Anacondaのダウンロード
サイト:https://www.anaconda.com/products/individual#download-section
# cd /usr/local/src
# wget https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
2.Anacondaインストール
# bash Anaconda3-2021.05-Linux-x86_64.sh
Welcome to Anaconda3 2021.05
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> #ENTERキーを押下
利用規約の同意に関して、yesと入力
Please answer 'yes' or 'no':'
>>> yes
Anaconda3 will now be installed into this location:
/root/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/root/anaconda3] >>> #ENTERキーを押下
略
Thank you for installing Anaconda3!
略
# bash Anaconda3-2021.05-Linux-x86_64.sh
Welcome to Anaconda3 2021.05
In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> #ENTERキーを押下
利用規約の同意に関して、yesと入力
Please answer 'yes' or 'no':'
>>> yes
Anaconda3 will now be installed into this location:
/root/anaconda3
- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below
[/root/anaconda3] >>> #ENTERキーを押下
略
Thank you for installing Anaconda3!
略
# bash Anaconda3-2021.05-Linux-x86_64.sh Welcome to Anaconda3 2021.05 In order to continue the installation process, please review the license agreement. Please, press ENTER to continue >>> #ENTERキーを押下 利用規約の同意に関して、yesと入力 Please answer 'yes' or 'no':' >>> yes Anaconda3 will now be installed into this location: /root/anaconda3 - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below [/root/anaconda3] >>> #ENTERキーを押下 略 Thank you for installing Anaconda3! 略
3.Anaconda実行
# su - ${USER}
# conda info
bash: conda: コマンドが見つかりませんでした...
コマンド conda' を提供するためにパッケージ 'conda' をインストールしますか? [N/y] #yキーを押下
# conda info
active environment : None
user config file : /root/.condarc
populated config files : /usr/share/conda/condarc.d/defaults.yaml
conda version : 4.10.1
conda-build version : not installed
python version : 3.6.8.final.0
virtual packages : __linux=4.18.0=0
__glibc=2.28=0
__unix=0=0
__archspec=1=x86_64
base environment : /usr (read only)
conda av data dir : /usr/etc/conda
conda av metadata url : https://repo.anaconda.com/pkgs/main
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /var/cache/conda/pkgs
/root/.conda/pkgs
envs directories : /root/.conda/envs
/usr/envs
platform : linux-64
user-agent : conda/4.10.1 requests/2.20.0 CPython/3.6.8 Linux/4.18.0-305.19.1.el8_4.x86_64 almalinux/8.4 glibc/2.28
UID:GID : 0:0
netrc file : None
offline mode : False
# su - ${USER}
# conda info
bash: conda: コマンドが見つかりませんでした...
コマンド conda' を提供するためにパッケージ 'conda' をインストールしますか? [N/y] #yキーを押下
# conda info
active environment : None
user config file : /root/.condarc
populated config files : /usr/share/conda/condarc.d/defaults.yaml
conda version : 4.10.1
conda-build version : not installed
python version : 3.6.8.final.0
virtual packages : __linux=4.18.0=0
__glibc=2.28=0
__unix=0=0
__archspec=1=x86_64
base environment : /usr (read only)
conda av data dir : /usr/etc/conda
conda av metadata url : https://repo.anaconda.com/pkgs/main
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /var/cache/conda/pkgs
/root/.conda/pkgs
envs directories : /root/.conda/envs
/usr/envs
platform : linux-64
user-agent : conda/4.10.1 requests/2.20.0 CPython/3.6.8 Linux/4.18.0-305.19.1.el8_4.x86_64 almalinux/8.4 glibc/2.28
UID:GID : 0:0
netrc file : None
offline mode : False
# su - ${USER} # conda info bash: conda: コマンドが見つかりませんでした... コマンド conda' を提供するためにパッケージ 'conda' をインストールしますか? [N/y] #yキーを押下 # conda info active environment : None user config file : /root/.condarc populated config files : /usr/share/conda/condarc.d/defaults.yaml conda version : 4.10.1 conda-build version : not installed python version : 3.6.8.final.0 virtual packages : __linux=4.18.0=0 __glibc=2.28=0 __unix=0=0 __archspec=1=x86_64 base environment : /usr (read only) conda av data dir : /usr/etc/conda conda av metadata url : https://repo.anaconda.com/pkgs/main channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /var/cache/conda/pkgs /root/.conda/pkgs envs directories : /root/.conda/envs /usr/envs platform : linux-64 user-agent : conda/4.10.1 requests/2.20.0 CPython/3.6.8 Linux/4.18.0-305.19.1.el8_4.x86_64 almalinux/8.4 glibc/2.28 UID:GID : 0:0 netrc file : None offline mode : False