Skip to content

Instantly share code, notes, and snippets.

@Aebian
Created November 30, 2015 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aebian/dd3d2189508db511d387 to your computer and use it in GitHub Desktop.
Save Aebian/dd3d2189508db511d387 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment