By | 26 Desember 2021
Download anaconda dari https://www.anaconda.com/products/individual
$ chmod +x Anaconda3-2021.11-Linux-x86_64.sh
$ bash ./Anaconda3-2021.11-Linux-x86_64.sh 
Welcome to Anaconda3 2021.11 In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue … Last updated April 5, 2021 Do you accept the license terms? [yes|no]
[no] >>>
Please answer 'yes' or 'no':' yes Anaconda3 will now be installed into this location:
/home/juwarto/anaconda3

Press ENTER to confirm the location

Press CTRL-C to abort the installation

Or specify a different location below[/home/juwarto/anaconda3] >>>
PREFIX=/home/juwarto/anaconda3
Unpacking payload …
… done
installation finished.

Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>> yes
no change /home/juwarto/anaconda3/condabin/conda
no change /home/juwarto/anaconda3/bin/conda
no change /home/juwarto/anaconda3/bin/conda-env
no change /home/juwarto/anaconda3/bin/activate
no change /home/juwarto/anaconda3/bin/deactivate
no change /home/juwarto/anaconda3/etc/profile.d/conda.sh
no change /home/juwarto/anaconda3/etc/fish/conf.d/conda.fish
no change /home/juwarto/anaconda3/shell/condabin/Conda.psm1
no change /home/juwarto/anaconda3/shell/condabin/conda-hook.ps1
no change /home/juwarto/anaconda3/lib/python3.9/site-packages/xontrib/conda.xsh
no change /home/juwarto/anaconda3/etc/profile.d/conda.csh
modified /home/juwarto/.bashrc
For changes to take effect, close and re-open your current shell.
$ conda init
no change /home/juwarto/anaconda3/condabin/conda
no change /home/juwarto/anaconda3/bin/conda
no change /home/juwarto/anaconda3/bin/conda-env
no change /home/juwarto/anaconda3/bin/activate
no change /home/juwarto/anaconda3/bin/deactivate
no change /home/juwarto/anaconda3/etc/profile.d/conda.sh
no change /home/juwarto/anaconda3/etc/fish/conf.d/conda.fish
no change /home/juwarto/anaconda3/shell/condabin/Conda.psm1
no change /home/juwarto/anaconda3/shell/condabin/conda-hook.ps1
no change /home/juwarto/anaconda3/lib/python3.9/site-packages/xontrib/conda.xsh
no change /home/juwarto/anaconda3/etc/profile.d/conda.csh
no change /home/juwarto/.bashrc
No action taken.
$ anaconda-navigator

Now we have Jupyter Notebook, Ipython, etc already installed with Anaconda
Try ipython

$ ipython
Python 3.9.7 (default, Sep 16 2021, 13:09:58)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.29.0 -- An enhanced Interactive Python. Type '?' for help
Note that everytime we open terminal, it's automatically in "(base)" mode.
To normalize:
$ conda config --set auto_activate_base False
Jalankan jupyter-notebook
$ ./anaconda3/bin/jupyter-notebook
Mengaktifkan anaconda
$ conda activate
(base) [email protected]:~
Menonaktifkan anaconda
$ conda deactivate

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan.