Skip to content

Instantly share code, notes, and snippets.

enzinier /
Created Feb 28, 2017
Sliently install Java 8 on Ubuntu
#!/usr/bin/env bash
sudo apt-get install -y python-software-properties debconf-utils
sudo add-apt-repository -y ppa:webupd8team/java
sudo apt-get update
echo "oracle-java8-installer shared/accepted-oracle-license-v1-1 select true" | sudo debconf-set-selections
sudo apt-get install -y oracle-java8-installer
enzinier /
Created Feb 24, 2017
Install Java on Ubuntu
#!/usr/bin/env bash
apt-get install python-software-properties
add-apt-repository -y ppa:webupd8team/java
apt-get update
# Enable silent install
echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections
echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections

Keybase proof

I hereby claim:

  • I am enzinier on github.
  • I am enzinier ( on keybase.
  • I have a public key ASDuJUJmJ9UsgRyTRLqECORw2PxhI_RCZdLEeZ7CYDRFmAo

To claim this, I am signing this object: