Skip to content

Instantly share code, notes, and snippets.

@waloriju
Last active December 20, 2015 22:09
Show Gist options
  • Save waloriju/6203039 to your computer and use it in GitHub Desktop.
Save waloriju/6203039 to your computer and use it in GitHub Desktop.
Instalando eclipse x64 no Ubuntu 13.04

Run: Eclipse Kepler - x86_64 - Download

curl -ks https://gist.github.com/WanderleyJunior/6203039/raw/run.sh | bash -
#!/bin/bash
# download
cd ~/Downloads/
rm -rf eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz*
sudo wget http://espelhos.edugraf.ufsc.br/eclipse//technology/epp/downloads/release/kepler/R/eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz
# extract package
tar xvf eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz
# move
rm -rf /opt/eclipse/
sudo mv eclipse /opt
# link to all users
sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse
# Unity Dash
sudo -s
cat << EOF > /usr/share/applications/eclipse.desktop
[Desktop Entry]
Name=Eclipse
Name[en]=eclipse
Comment=Integrated Development Environment
Type=Application
Encoding=UTF-8
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
NoDisplay=false
Categories=Development;IDE
EOF
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment