Hi,

I've installed Netbeans 6.5 which is for JAVA with apt-get and want to uninstall it. How do i do it?

Thanks

Dani AI

Generated

Useful context and a compact checklist that fills gaps in the replies from , and .

Start by identifying how NetBeans was installed. Repository packages behave differently from a manual installer or a tarball. The safe first step for repository installs is to confirm the exact package name and list what files belong to it:

dpkg -l | grep -i netbeans
apt-cache policy netbeans
dpkg -L <exact-packagename-from-above>

If NetBeans came from the official binary installer (not the distro archive) it commonly lives under /opt or /usr/local and may include its own uninstaller. Detect those installs and any launcher or symlink with:

which netbeans
whereis netbeans
find /opt /usr/local -maxdepth 2 -type d -iname '*netbeans*'

After removal, clean up per-user data and desktop entries (backup before deleting). Typical locations to check and move or remove are the NetBeans userdir and caches in the home directory, desktop files in the local applications folder, and any symlinks in /usr/local/bin:

mv ~/.netbeans ~/.netbeans.backup
rm -rf ~/.cache/netbeans*
rm -f ~/.local/share/applications/netbeans*.desktop
ls -l /usr/local/bin | grep -i netbeans

Notes and cautions: verify the exact package name before performing system removals, and keep a backup of personal settings if there’s any chance a rollback will be needed. If the IDE was installed with a binary installer, prefer the bundled uninstaller if present; if it was from the distro, use the package manager to avoid leaving orphaned system files. For orphaned libraries, use the distro’s dependency-cleaning tool rather than manually removing shared libraries.

Recommended Answers

All 7 Replies

sudo apt-get remove "packageName"

or you could easily use of of the GUI tools to do it as well. If you want to know more about the options available in apt-get try:

man apt-get

and you'll get the manual page which lists the options for the package manager.

sudo apt-get remove "packageName"

or you could easily use of of the GUI tools to do it as well. If you want to know more about the options available in apt-get try:

man apt-get

and you'll get the manual page which lists the options for the package manager.

Don't encourage GUI use, the best way to learn is command line.

you can use "sudo apt-get remove [package]"
or to remove it completely(all the config files) use "sudo apt-get purge [package]"

Don't encourage GUI use, the best way to learn is command line.

you can use "sudo apt-get remove [package]"
or to remove it completely(all the config files) use "sudo apt-get purge [package]"

I neither encourage nor discourage GUI use. I simply present it as an option. The user should choose what is best based on their confidence level and skill. I love the command line, but I admit that it's not for everybody. Nothing wrong with that.

I'll rty sudo apt-get remove [package] tomorrow when i get to work and let you know.

thanks

I neither encourage nor discourage GUI use. I simply present it as an option. The user should choose what is best based on their confidence level and skill. I love the command line, but I admit that it's not for everybody. Nothing wrong with that.

I just think that if you start using the GUI you'll depend on GUIs too much, and the truth is theres alot of things in Linux that don't have GUIs, and some that are better(more flexible) without a GUI.

I really think that command line is easier in some aspects especially the apt-get and aptitude commands that come with Debian/Ubuntu, because you can use "aptitude search [software]" to find software instead of scrolling through an endless list.

sudo apt-get remove eclipse didn't work but sudo apt-get autoremove eclipse worked

Encourage GUI use to the max. The developers know damn well this lack is what's keeping Linux out of the mainstream.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.