Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have gone through the Dist Usage Utility in Ubuntu and I deleted some folders here and there in my Desktop and also in my Downloads. These included some software packages I had installed earlier.......

I am not very sure whether all the installation points related to these softwares have been cleaned after I have deleted the folders in the Desktop.

Windows ofcourse we have an uninstall utility. But since I dint know a similar way in Ubuntu I just deleted the folders. Is here any command that I can run now to fully scan and remove softwares and packages that have not been properly installed or UNINSTALLED???

share|improve this question
up vote 2 down vote accepted

From what you write, I think you did not actually deinstall or break any installed packages.
in case you did indeed, sudo debsums -c will help you to find the changes - see What is the apt equivalent to "rpm -V" (Verify installed packages).

But it sounds like you may have installed programs by building it from source, maybe under your home directory?

If so, there may be an uninstall command provided, like make uninstall.

If you installed something with make install or similar, but there is no make uninstall available, you need to find out which files were installed, and into which directories they were installed.
In simple cases this can be seen from the Makefile. But if that does not help, you can just run make install again - only to see the log output of which files are installed to where.

For future use, take a look at checkinstall - it can track what was installed from source, and cleanly uninstall it.

share|improve this answer
Thanks Very Much for the reply. However since I have deleted the folder I have no Makefile... What can I do now??? – Shabirmean Aug 17 '14 at 10:41
Normally it's not hard to find at least most of what was installed using locate - can you give an example? Of course, you can download the sources again, so you can do make install again. – Volker Siegel Aug 17 '14 at 10:47
I had downloaded SU2 (a Computational Fluid Dynamics Software package).. It was around 2 GB with test cases and stuff... It was in my desktop and I went through the installation process by running ./configure, make and make install... and then to remove it I just deleted the folder... Now I am not sure whether it got fully removed!!!! – Shabirmean Aug 17 '14 at 13:44
What is the url of the package? What does command -v su2 or so say? – Volker Siegel Aug 17 '14 at 14:30
URL: the command doesn't return anything!!! – Shabirmean Aug 17 '14 at 14:46

I have two options for you. Either Graphical or command-line Graphical Way: Install Synaptic manager and cleanup your System. to install it run

 sudo apt-get install synaptic 

or you could try this command from terminal

 sudo apt-get update && sudo apt-get -f install

to update and attempt to fix your packages. But i recommend you install synaptic and you can find more on this.. askubuntu post

share|improve this answer
I don't specifically know what are the softwares that are corrupted or incorrectly deleted by me. I am looking for some command or utility that can auto scan my files and remove unnecessary hanging files in the disk... Can I do it with synaptic?? I already have it installed and it seems like the Add/Remove Programs in control panel.... Also the terminal command gives: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. – Shabirmean Aug 17 '14 at 8:44
Yes you can do that with synaptic. have you tried the apt-get autoremove or autoclean commands as well..? – Olu Aug 18 '14 at 16:02
Yes I have!!! But I dont know whether it worked – Shabirmean Aug 19 '14 at 16:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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