PDA

View Full Version : [ubuntu] cant unistall netbeans



heyyy
June 28th, 2009, 09:55 PM
i started learning java on my own and i needed an development kit
after some google i ended in netbeans
so i installed it but because some reasons i wanted to unistall it and install again
when i tried to reinstall it i noticed that it didnt download again the files...it just seemed to install
..but that means when i unistalled the files/packages instead of being deleted they remained of the computer

some help to understand whats going on?
b

WRDN
June 28th, 2009, 10:11 PM
You uninstalled the software, and when you went to reinstall it, Ubuntu found the debian package (.deb), in /var/cache/apt/archives, so it didn't download the file again.
You can manually remove the files in this cache, or just the command:


sudo apt-get clean

This will remove all the downloaded debian packages.

Note: Do not delete the partial folder at /var/cache/apt/archives/partial

heyyy
June 29th, 2009, 11:23 AM
You uninstalled the software, and when you went to reinstall it, Ubuntu found the debian package (.deb), in /var/cache/apt/archives, so it didn't download the file again.
You can manually remove the files in this cache, or just the command:


sudo apt-get clean

This will remove all the downloaded debian packages.

Note: Do not delete the partial folder at /var/cache/apt/archives/partial
thanks
should i type this?


sudo apt-get clean netbeans

WRDN
June 29th, 2009, 11:57 AM
No, apt-get clean is used to remove the downloaded debian packages (which hold the files to be installed), not programs themselves, so either run


sudo apt-get clean

Or, manually remove the debian packages


sudo rm [filename].deb

A quick way to remove downloaded packages related to NetBeans (though not guaranteed):


sudo rm *netbeans*

The above 2 commands must be run from within the archives directory.