diff options
Diffstat (limited to 'share/trashman/oracle-java8/unix/linux/debian/install')
-rwxr-xr-x | share/trashman/oracle-java8/unix/linux/debian/install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/share/trashman/oracle-java8/unix/linux/debian/install b/share/trashman/oracle-java8/unix/linux/debian/install new file mode 100755 index 0000000..6bea746 --- /dev/null +++ b/share/trashman/oracle-java8/unix/linux/debian/install @@ -0,0 +1,21 @@ +#!/usr/bin/env sh +# +# https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8 +# http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html +# https://tecadmin.net/install-java-8-on-debian/ +# http://www.webupd8.org/p/ubuntu-ppas-by-webupd8.html +# https://launchpad.net/~webupd8team/+archive/ubuntu/java + +# Parameters +SHARE="$1" + +# Include basic functions +. $SHARE/trashman/functions || exit 1 +. $SHARE/trashman/debian || exit 1 + +# Requirements +#trashman_apt_install_packages dirmngr +#apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886 +trashman_apt_install_packages software-properties-common +add-apt-repository "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" +trashman_apt_install_packages oracle-java8-installer |