Saturday, January 15, 2011

Install Eclipse

#/bin/bash

URL=http://mirror.netcologne.de/eclipse/technology/epp/downloads/release/helios/SR1/eclipse-java-helios-SR1-linux-gtk.tar.gz

# install eclipse from repository
sudo apt-get install -y eclipse

# download new eclipse release
wget ${URL} -P /tmp

# backup old release
sudo mv /usr/lib/eclipse/ /usr/lib/eclipse.$(date -I)

# install new release
sudo tar xzf /tmp/eclipse-java-*-linux-gtk.tar.gz -C /usr/lib/

No comments:

Post a Comment