Last active
March 6, 2018 17:21
-
-
Save tajnymag/f29417bd4a3929071d7673ddc1606d39 to your computer and use it in GitHub Desktop.
Runs/Installs Oracle SQLDeveloper (for Ubuntu/Debian only)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
URL="https://transfer.sh/dbct7/sqldeveloper-17.4.0.355.2349-no-jre.zip" | |
apt list --installed 2>/dev/null | grep unzip >/dev/null || sudo apt update && sudo apt install -y unzip | |
apt list --installed 2>/dev/null | grep openjdk-8 >/dev/null || sudo apt update && sudo apt install -y openjdk-8-jre openjdk-8-jdk | |
if [ ! -f "./sqldeveloper/sqldeveloper.sh" ] | |
then | |
curl -o sqldeveloper.zip "$URL" && unzip sqldeveloper.zip | |
fi | |
./sqldeveloper/sqldeveloper.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment