Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I install the latest Anaconda with wget

Tags:

I'm looking at installing anaconda via wget on my server. I've come across https://askubuntu.com/questions/505919/installing-anaconda-python-on-ubuntu and http://ericjonas.com/anaconda.html and it looks promising . As of this writing the current version( https://www.continuum.io/downloads#_unix ) is 4.0 . How can I wget the latest version.

like image 875
user1592380 Avatar asked Jun 28 '16 15:06

user1592380


People also ask

Does Anaconda have wget?

anaconda / packages / wget 3. 2 wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols.

What is the latest version of Anaconda?

Anaconda Individual Edition 2021.11 includes a new release of Anaconda Navigator - version 2.1. 1.


2 Answers

wget just downloads the file...

for python 2.7 :

wget https://repo.continuum.io/archive/Anaconda2-2018.12-Linux-x86_64.sh 

for python3.X:

wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh 

This is a shell script that guides you though the install.

Run the following line inside of the folder of the downloaded file to start the guided install...

for python 2.7:

bash Anaconda2-2018.12-Linux-x86_64.sh 

for Python 3.X:

bash Anaconda3-2018.12-Linux-x86_64.sh 

Check latest repos or if you want any specific version here: https://repo.continuum.io/archive/

like image 63
Bruce Pucci Avatar answered Oct 20 '22 05:10

Bruce Pucci


This will download the latest anaconda version from scraping the html from the website:

wget -O - https://www.anaconda.com/distribution/ 2>/dev/null | sed -ne 's@.*\(https:\/\/repo\.anaconda\.com\/archive\/Anaconda3-.*-Linux-x86_64\.sh\)\">64-Bit (x86) Installer.*@\1@p' | xargs wget 
like image 33
philipper Avatar answered Oct 20 '22 05:10

philipper