File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eux
4+
5+ ECLIPSE_VERSION=" 2023-12"
6+
7+ # download eclipse: https://www.eclipse.org/downloads/packages/
8+ wget -c -O " eclipse.tar.gz" \
9+ " https://mirror.kakao.com/eclipse/technology/epp/downloads/release/${ECLIPSE_VERSION} /R/eclipse-java-${ECLIPSE_VERSION} -R-linux-gtk-x86_64.tar.gz"
10+
11+ # extract and keep the files in /opt
12+ tar -zxvf eclipse.tar.gz
13+ mv " eclipse" /opt
14+
15+ # remove the tarball
16+ rm eclipse.tar.gz
17+
18+ cat > eclipse.desktop << EOF
19+ [Desktop Entry]
20+ Name=Eclipse
21+ Type=Application
22+ Exec=/opt/eclipse/eclipse
23+ Terminal=false
24+ Icon=/opt/eclipse/icon.xpm
25+ Comment=Integrated Development Environment
26+ NoDisplay=false
27+ Categories=Development;IDE;
28+ Name[en]=Eclipse
29+ Name[en_US]=Eclipse
30+ EOF
31+
32+ # copy the desktop entry to appropriate location
33+ mv eclipse.desktop /usr/share/applications/
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ codeblocks.sh
3131geany.sh
3232pycharm_community.sh
3333intellij_idea_community.sh
34+ eclipse.sh
3435
3536# --- Additional support packages ---
3637openssh_server.sh
You can’t perform that action at this time.
0 commit comments