Created
January 11, 2015 20:22
-
-
Save Cassie-von-Clausewitz/5d3870c0f3c1205c7e9c to your computer and use it in GitHub Desktop.
Computer Science 1 Java Setup Ubuntu
This file contains 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
#!/usr/bin/env bash | |
sudo su | |
#add the java 8 repo | |
sudo add-apt-repository -y ppa:webupd8team/java | |
#add the Sublime Text 3 repo | |
sudo add-apt-repository -y ppa:webupd8team/sublime-text-3 | |
#update | |
apt-get -y update | |
#automated install of java 8 from webupd8 | |
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections | |
#set path variables | |
sudo apt-get install -y oracle-java8-set-default | |
# install text editors | |
sudo apt-get install -y vim | |
sudo apt-get install -y emacs24-nox | |
sudo apt-get install -y sublime-text-installer | |
# finished | |
echo "All done! Now do your homework! :)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment