I am a newbie and followed the instructions of the site: http://sejalivre.org/instalando-o-java-6-update-30-no-ubuntu/ in order to install Java and some proprietary software based on Java on my Ubuntu 11.10 box.

According to that site, I should use the command:

sudo apt-get install openjdk-6-jre icedtea-plugin

to install Java and the proprietary software.

I did that, but started to wonder if that script is clean and not some malware... For my peace of mind I want to remove everything that was installed with that command.

1 Answer 1


If you did not follow the second step If your application does not work with openjdk and added the PPA to your system then everything should be ok since you are using the package versions supplied by Ubuntu.

To remove the packages you have just installed do the opposite of what you just did to install them

sudo apt-get remove openjdk-6-jre icedtea-plugin

If you added the PPA to install Oracle's version of java there is no warranty of the quality of those packages. If you want more information on PPAs have a look at

For dangers related to adding PPAs to your system you should read also

There are good news tough. You can remove a PPA from your system and purge any packages that you have installed in your system with a small tool called ppa-purge. Learn how to install and use it by looking in to

If you need a proper way of installing Java in your system without using PPAs and packages created by other people you can choose and follow the instructions of doing so here

  • Hi Bruno!That script installed receitanet as well. That's why I am worried about the safety of using the application...
    – Le Jepra
    Commented Apr 6, 2012 at 18:12
  • Remove it if you are not sure with ppa-purge. If your not happy with it, your not happy with it. Don't install it. I have added instructions to a proper way of installing Oracle's Java implementation. Commented Apr 6, 2012 at 18:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .