How can I uninstall any program using terminal. For example, how can I uninstall TeamViewer 7 wich is stored in my home folder. I can not see TeamViewer in ubuntu softvare center, so I can not uninstall it that way.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
Simple googling might have helped, anyway here is how you can uninstall any package from terminal:
You should never remove files by hand use Source of info and more on this you can find here: linuxquestions |
|||
|
|
dpkg -l | grep -i teamviewerthen usedpkg -rorapt-get purge package_nameto remove the package with its configuration files. – Terry Wang Feb 11 at 9:16Tabone (or two if there are more options) time(s) to autocomplete what you are typing. For instance, I want to remove Google Chrome: I typesudo apt-get --purge remove googand I press the Tab key two times; the terminal will show me this:google-chrome-unstable, google-talkplugin, google-musicmanager, goograndom-appand so on. In this way I can know what packages start withgoogle. In case I only havegoogle-chrome-unstable, a single Tab will do. – Alfredo Hernández Mar 5 at 22:04