How to Install Anaconda on Ubuntu<\/h1>
Environment
Device : x86_x64
OS : Ubuntu-20.04
※ If you want to install Conda on ARM64,
you can do it by MiniForge (Conda for ARM64)
1. Generate New Account for Anaconda
$ sudo adduser conda
Adding user `conda' ...
Adding new group `conda' (1001) ...
Adding new user `conda' (1001) with group `conda' ...
Creating home directory `/home/conda' ...
Copying files from `/etc/skel' ...
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for aa
Enter the new value, or press ENTER for the default
Full Name []: conda
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
$ su conda
2. Install Anaconda
1) Download Anaconda
$ cd ~
$ wget https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux-x86_64.sh
$ ls
$ bash Anaconda3-2020.11-Linux-x86_64.sh
$ exit
※ Install Mini-Forge to Install on ARM64
$ su conda
$ cd ~
Upgrade Conda Environment
$ conda update --all -y2) Generate Python2.7 Environment
Generate Conda Environment
$ conda create -n conda27 anaconda python=2.7 -y
Activate Conda Environment
$ conda activate conda27
Upgrade Conda Environment
$ conda update --al -yl
Install Packages
$ conda install paramiko pymysql beautifulsoup4 jupyterlab pandas -y
Deactivate Conda Environment
$ conda deactivate
3) Generate Python3.7 Environment
Generate Conda Environment
$ conda create -n conda37 anaconda python=3.7 -y
Activate Conda Environment
$ conda activate conda37
Upgrade Conda Environment
$ conda update --all -y
Install Packages
$ conda install paramiko pymysql bs4 jupyterlab pandas tensorflow -y
Deactivate Conda Environment
$ conda deactivate
4) Generate Python3.8 Environment
Generate Conda Environment
$ conda create -n conda38 anaconda python=3.8 -y
Activate Conda Environment
$ conda activate conda38
Upgrade Conda Environment
$ conda update --all -y
Install Packages
$ conda install paramiko pymysql bs4 jupyterlab pandas tensorflow -y
Deactivate Conda Environment
$ conda deactivate
※ Anaconda for Windows10 is Not Supported tensorflow on Python3.8
Basic Command of Conda
Show installed Environments List
conda env list
Generate an Environment
conda create -n yourenvironment yourpackages
Remove an Environment
conda remove --name myenv
Upgrade an Package
conda update mypackage
Upgrade all Packages
conda update --all
Show installed Packages
conda list