user1950349 February 2016

install eclipse via terminal

I am trying to install eclipse in a linux box via terminal using below command but it doesn't work.

wget "http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz&mirror_id=454"

When it gets downloaded, I see this file name which is wrong?

download.php?file=%2Ftechnology%2Fepp%2Fdownloads%2Frelease%2Fluna%2FSR2%2Feclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz

Instead it should be - eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz What's wrong?

I renamed the file to correct name and tried untarring it but I get an error as shown below:

tar -xvzf eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

What's wrong?

Answers


Ramachandra Reddy February 2016

Looks like issue with the download link form eclipse website itself.

Please try with the below URL (I have tested it in Ubuntu 14 and its working)

http://eclipse.stu.edu.tw/technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-linux-gtk.tar.gz


cricket_007 February 2016

Using a Debian variant?

sudo apt-get install eclipse

Otherwise, I think you just copied the link from the main Eclipse download page, which is a link to another page which grabs the fastest mirror for the download of the file.

For example, the link it gave me is this, which downloads fine

http://mirror.cc.columbia.edu/pub/software/eclipse/technology/epp/downloads/release/luna/SR2/eclipse-jee-luna-SR2-linux-gtk-x86_64.tar.gz

After that, the answer is mostly contained on AskUbuntu: How to install Eclipse?

Post Status

Asked in February 2016
Viewed 1,189 times
Voted 5
Answered 2 times

Search




Leave an answer