Updated 3 August 2021
In this tutorial, we will see what is anaconda, the benefits of using anaconda, and how to install it then we will see what is conda, the difference between Anaconda and conda, and the commands of conda. so let’s start-
Anaconda is an open-source package manager, environment manager, and data science distribution for python and R languages. It includes more than 1,500 data science packages that are compatible with Linux, Windows, and macOS. it mostly used for package management and deployment. It provides tools for collecting data from several sources with Machine Learning and AI algorithms.
There are step for installation you have to follow:-
1 – Download anaconda installer from here
https://www.anaconda.com/products/individual#linux
2 – Verify data integrity with SHA-256
open the terminal and run the following command
1 |
sha256sum path/downloaded_file_name(Anaconda3-2021.05-Linux-x86_64.sh) |
3 – after that run this command on the terminal to start the installation
1 |
bash path/downloaded_file_name(Anaconda3-2021.05-Linux-x86_64.sh) |
4 – now you will see the license agreement press “enter” to view license terms and continue then do agree on license terms and enter “yes” to continue.
5 – after that, you will see three options on terminal Enter to accept the default install location, CTRL-C to cancel the installation, specify an alternate installation directory. choose and enter to process further.
6 – then the terminal asks you Do you wish the installer to initialize Anaconda3 by running conda init? type “yes” and enter. If anaconda will successfully be installed into your system you will see this message “Thank you for installing Anaconda<2 or 3>!” on the terminal.
Anaconda includes 1,500 open-source packages for python and R like conda, numpy, scipy, ipython notebook, and so on. whereas conda is a package manager which helps to install and uninstall libraries in your working environment and so on.
1 |
conda create --name environment_name(e.g. myenv) |
or
1 |
conda create -n environment_name(e.g. myenv) |
1 |
conda activate environment_name(e.g. myenv) |
1 |
conda deactivate |
1 |
conda env list |
1 |
conda create -n myenv python==2.e |
1 |
conda env remove -n <ENV_NAME> |
1 |
conda create --name <new_env_name> --clone <old_env_name> |
then remove old env
1 |
<span style="font-size: medium;">conda remove --name old_env_name --<span class="hljs-built_in">all</span></span> |
first, activate the environment then run this command on terminal
1 |
conda list |
I hope this blog is helpful to you. Feel free to comment for any queries or suggestions. Also, You can follow me here for more such blogs. Thanks for reading.
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.