pi-apps icon indicating copy to clipboard operation
pi-apps copied to clipboard

Eclipse Installer - Install based

Open Kolpixx opened this issue 2 years ago • 2 comments

What is the name of the app?

Eclipse Installer

(Optional) Where is the app hosted?

https://www.eclipse.org/

About the app

This is the official Eclipse installer to install different Eclipse IDE's like "Eclipse IDE for Java Developers" or "Eclipse IDE for C/C++ Developers".

Upload file or Add PR Link

Eclipse_Installer.zip

Confirmations

  • [x] I have confirmed that this app is legal and not piracy.
  • [X] I have confirmed that this app has never been discussed in https://github.com/Botspot/pi-apps/issues and https://github.com/Botspot/pi-apps/pulls, and it is not in the Pi Apps app list.
  • [X] I have confirmed that this app can run on Raspberry Pi.

Kolpixx avatar Jan 05 '23 17:01 Kolpixx

+1

ItsTerm1n4l avatar Apr 05 '23 08:04 ItsTerm1n4l

A zipfile was found in the body of your issue. The sha1sum of the zip was: 96a10bb4ca84f92e2485ddbc0bbad25d7e49af5a The contents can be previewed below:

Eclipse Installer/description

Eclipse is an integrated development environment (IDE) used in computer programming.

To run: Start menu » Accessories » Eclipse Installer 

To run in a terminal: ~/.local/share/EclipseInstaller/eclipse-inst

The installed IDE's are located at: Start menu » Other

Eclipse Installer/credits

Install script made by Kolpix

Eclipse Installer/website

https://www.eclipse.org/

Eclipse Installer/install-64

#!/bin/bash

#Downloading the eclipse installer

echo "Downloading the Eclipse Installer"

wget 'https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2022-12/R/eclipse-inst-jre-linux-aarch64.tar.gz&r=1' || error 'Failed to download the Eclipse Installer!'

#Extracting the eclipse installer

echo "Extracting the Eclipse Installer"

tar -zxf 'eclipse-inst-jre-linux-aarch64.tar.gz&r=1' --directory ~/.local/share || error 'Failed to extract the Installer'

#Renaming the Installer

echo "Renaming the Installer"

mv ~/.local/share/eclipse-installer ~/.local/share/EclipseInstaller || error 'Failed to rename the Installer!'

#Making the menu shortcut

echo "Creating a menu shortcut"

echo "[Desktop Entry]
Version=1.0
Type=Application
Name=Eclipse Installer
GenericName=IDE
Comment=Install different Eclipse IDE's
Icon=$(dirname "$0")/icon-64.png
Exec=$HOME/.local/share/EclipseInstaller/eclipse-inst
StartupNotify=true
Categories=Utility;" > "$HOME/.local/share/applications/EclipseInstaller.desktop" 

#Removing the tar.gz file

rm 'eclipse-inst-jre-linux-aarch64.tar.gz&r=1' || error 'Failed to remove the .tar.gz file'





Eclipse Installer/uninstall

#!/bin/bash

#Removing the main directory and the .desktop file

echo "Removing EclipseInstaller"

rm -r ~/.local/share/EclipseInstaller

echo "Removing EclipseInstaller.desktop"

rm ~/.local/share/applications/EclipseInstaller.desktop



github-actions[bot] avatar Aug 05 '23 15:08 github-actions[bot]