Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to do some clean up and was wondering how can I see what packages I have never used or has been very long since I used them.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

UnusedPkg: A Tool to Search the Oldest Unused Packages in Ubuntu From Terminal

enter image description here

UnusedPkg sorts and lists down the oldest unused packages. The sorted list is displayed with the size, package name and number of days the package has been idle for.

With the help of the list , you can determine the packages that are unnecessary and needs to be removed from the system. You can download its .tar.gz package from the download link given at the end of the post.

To install the UnusedPkg in Ubuntu, extract the downloaded package archive and obtain the unusedpkg folder. Then, move the unusedpkg shell script inside that folder to /usr/bin/ folder.

If you don’t have the root access, you can run the script from the unusedpkg directory only.

Once installed, you can run the tool by running following commands in the terminal.

unusedpkg

Warning: To avoid any problem, before uninstalling or removing any package, you have to manually check its timestamps using unusedpkg info or manually with ls -alu

Download UnusedPkg

share|improve this answer
    
Great tool BlueXrider. I will be testing it. –  Luis Feb 25 '12 at 14:33

That is a great question.

This is a sort of work around rather then an answer, but, ...

In my experience, it is easier to start with a minimal installation and build up rather then to try to remove things from a standard Ubuntu desktop installation.

There is a bit of a learning curve to either method as removing packages can result in a broken system and either way you will need to learn what packages you use and what their dependencies are, as well as what is part of the "minimal" core.

See:

Ubuntu Minimal CD

Ubuntu wiki low memory systems

Ubuntu packages ubuntu-minimal

share|improve this answer
    
+1 for the experience. I will still wait for maybe an app or a script that does this. If not then an experience answer will do. –  Luis Feb 23 '12 at 23:26
1  
Just take care with that Ubuntu Minimal CD, if you play it backwards it installs Arch =) –  bodhi.zazen Feb 23 '12 at 23:32

gtk-orphan has a nice interface to find orphaned packages. Great for cleaning up additional packages that were installed automatically and also for seeing extra software you have installed.

share|improve this answer
    
Great tool Anarci. Nice idea. –  Luis Feb 25 '12 at 14:31

Your Answer

 
discard

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.