Latest Code Tutorials

How to Update Anaconda Navigator in 2022

Anaconda is the free and open-source distribution of the Python and R languages for scientific computing, aiming to simplify package management and deployment. The distribution includes data science packages suitable for Windows, Linux, and macOS.

What to Use: Anaconda Navigator or conda?

After installing the Anaconda or Miniconda, use Navigator if you prefer the desktop graphical user interface (GUI).

If you choose to use Anaconda prompt (or terminal on Linux or macOS), use that and conda.

You can also switch between them.

You can also install, remove, or update any Anaconda package with a few clicks in Navigator or the single conda command in Anaconda Prompt (terminal on Linux or macOS).

To try Navigator, after installing the Anaconda, click the Navigator icon on your os program menu, or in the Anaconda prompt (or terminal on Linux or macOS), run this command: anaconda-navigator.

If you open the Anaconda Navigator, it looks like the below image.

Anaconda Navigator Update

Update Anaconda on Mac, Windows, and Linux

You can update Anaconda to the latest version on one of the following platforms.

  1. Windows: Open the start menu and choose the Anaconda Prompt.
  2. macOS or Linux: Open the terminal window.

To update Anaconda to the latest version, type the following command.

conda update conda

To update the Anaconda to a specific version, type the following command.

conda update anaconda=VersionNumber

The command conda update anaconda=VersionNumber grabs the specific release of the Anaconda metapackage; for example, conda update anaconda=2019.10.

That metapackage represents the pinned state that has undergone testing as a collection.

If you want to update all the packages under conda distribution, you can use the following command.

conda update --all

The conda update –all will upgrade everything. This updates all packages in the current environment to the latest version.

In doing so, it drops all the version constraints from history and tries to make everything as new as possible.

Anaconda2 includes Python 2.7, and Anaconda3 includes Python 3.7.

However, it does not matter which you download because you can create new environments that include any Python version packaged with conda.

How to Upgrade the specific package of Anaconda

To update a specific anaconda package, you can use the following command.

conda update pkgName

When you use the conda update pkgName or conda install pkgName, conda may not be able to update or install that package without changing something else you specified in the past.

In the case of the Anaconda metapackage, when you say conda update ipython but you have Anaconda 2019.2, conda can and should “downgrade” Anaconda to the “custom” version so that iPython can be updated.

When conda can’t fulfill the request for the latest package available, it usually means that newer packages exist for your specs but are in conflict. To force the change, you can try conda install pkg=newversion.

Update Anaconda Navigator Manually

If you prefer, you may update Navigator manually.

Open the Anaconda prompt (terminal on Linux or macOS).

Run the following command to deactivate conda.

conda deactivate

Then run this command to update Navigator.

conda update anaconda-navigator

That’s it for upgrading the anaconda navigator tutorial is over.

See also

How to install Python module

How to upgrade Pip

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.