Thread: Shell script to completely remove Java from Ubuntu 10.04
this necessary need sun jdk openmrs development (www.openmrs.org).
applications->accessories->terminal
enter following text:code:touch /tmp/completely-remove-java chmod +x /tmp/completely-remove-java gedit /tmp/completely-remove-java
file->save. file->quit.code:#!/bin/bash # # ubuntu 10.04 # remove java packages sudo aptitude purge `dpkg -l | grep java | awk '{print $2}'` -y sudo aptitude purge `dpkg -l | grep gcj | awk '{print $2}'` -y # remove residual configurations sudo aptitude purge `dpkg -l | grep -e ^rc | awk '{print $2}'` -y
terminal.
mishacode:/tmp/completely_remove_java
moved programming talk. thank posting this.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Shell script to completely remove Java from Ubuntu 10.04
Ubuntu
Comments
Post a Comment