Skip to content

Instantly share code, notes, and snippets.

@ppazos
Created February 25, 2018 05:09
Show Gist options
  • Save ppazos/f001cc677f684c9d0210a1a13703ae1e to your computer and use it in GitHub Desktop.
Save ppazos/f001cc677f684c9d0210a1a13703ae1e to your computer and use it in GitHub Desktop.
uninstall openjdk and dependencies from Linux Mint / Ubuntu
I found that you can use the following to remove the openjdk-7-jre on Ubuntu 13.04:
sudo apt-get autoremove openjdk-7-jre
Press 'y' and then press enter when prompted to confirm this change. This should also clean up all the additional dependency libraries that were installed with it.
I also found you can use the following command to perform additional clean up:
sudo apt-get purge openjdk*
If you use the following command:
java -version
You should no longer see the openjdk-7-jre installed!
https://askubuntu.com/questions/335457/how-to-uninstall-openjdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment