4

I installed software using the sudo apt-get install [program name] command in the Terminal.

How should I go about uninstalling said program via. Terminal?

What should I specifically type in the Terminal?

  • The program does not appear in the Installed tab of Software Center
  • It exists in the Software Center, but according to Center it hasn't been installed
  • The program operates fine though when installed using above command
0
5

Use

sudo apt-get remove nameOfProgram

Or if you want to uninstall the program and also associated data:

sudo apt-get purge nameOfProgram

That will remove the program. It doesn't always remove the dependencies that were installed to make the program work. To clean up those package you can run this after:

sudo apt-get autoremove
10
  • Do I write the name of the program after the autoremove in sudo apt-get autoremove? – user604803 Oct 16 '16 at 2:37
  • do remove first then do autoremove – Philip Kirkbride Oct 16 '16 at 2:37
  • After doing sudo apt-get remove nameOfProgram this is the output: Reading package lists... Done Building dependency tree Reading state information... Done Package 'freecad' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. – user604803 Oct 16 '16 at 2:39
  • run 'apt list --installed' (shows all installed) and scroll through the list and see if you see a variation on that name in the list. – Philip Kirkbride Oct 16 '16 at 2:42
  • 1
    @PhilipKirkbride Something went wrong with your edit, both command-lines are the same, looks like you want to use purge in the second one... – mook765 Oct 16 '16 at 4:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.