You are not logged in.

#1 2011-05-13 11:09:40

kismet010
Member
Registered: 2009-09-02
Posts: 137

Finding no longer used apps [Solved]

Hello, is there any application to see which packages are less used, or that I no longer use, then remove them with pacman?
I install many programs to test them and then not remember their names or that I installed. They are small, not a problem of space just to keep my system as clean as possible.

Last edited by kismet010 (2011-05-13 11:35:57)

Offline

#2 2011-05-13 11:30:57

jeslinmx
Member
Registered: 2010-11-20
Posts: 120

Re: Finding no longer used apps [Solved]

pacman -Qdt shows you all packages which were installed as dependencies but no longer needed. I know this doesn't answer your question but I thought it might help.
The best way I know of is to simply look through all your packages and see if any of them ring a bell as something you no longer use.
If you start your programs from a bash shell you can use history to see which packages you use at all and work your way from there.


Lenovo Y450 + Arch x86_64 dual boot with Windows 7 + Openbox standalone + Arch default kernel + Nouveau + yours truly = A lot of *****in' in the Arch Forums.

Offline

#3 2011-05-13 11:32:28

hauzer
Member
From: Belgrade, Serbia
Registered: 2010-11-17
Posts: 279
Website

Re: Finding no longer used apps [Solved]

I don't know about any applications, but you could try something like this:

stat "-c=%x %n" /usr/bin/* | sort

It sorts files in /usr/bin by access time.


Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
What profit hath a man of all his labour which he taketh under the sun?
All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.

Offline

#4 2011-05-13 11:35:16

kismet010
Member
Registered: 2009-09-02
Posts: 137

Re: Finding no longer used apps [Solved]

hauzer wrote:

I don't know about any applications, but you could try something like this:

stat "-c=%x %n" /usr/bin/* | sort

It sorts files in /usr/bin by access time.

Just great, thanks!

Offline

#5 2011-05-13 12:46:01

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: Finding no longer used apps [Solved]

A word of caution before you delete stuff. If you have the noatime mount option for whichever partition /usr is on, that will return false results.


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

#6 2011-05-13 13:41:27

oliver
Member
Registered: 2007-12-12
Posts: 448

Re: Finding no longer used apps [Solved]

I usually just pay attention to the packages being upgraded with 'pacman -Syu'... if I don't recognize it, I look it up and that jogs my memory.  It's not very scientific, but it works for me.

Offline

#7 2011-05-13 13:51:14

kismet010
Member
Registered: 2009-09-02
Posts: 137

Re: Finding no longer used apps [Solved]

skanky wrote:

A word of caution before you delete stuff. If you have the noatime mount option for whichever partition /usr is on, that will return false results.

Good point

Offline

#8 2011-05-13 19:05:03

gnomeye
Member
From: Switzerland
Registered: 2010-08-04
Posts: 178

Re: Finding no longer used apps [Solved]

For example the output of

stat "-c=%x %n" /usr/bin/* | sort

gives me:

=2011-05-01 10:40:59.963196256 +0200 /usr/bin/startx
=2011-05-01 10:41:00.006528230 +0200 /usr/bin/xinit

well still I won't remove those pkgs...

Last edited by gnomeye (2011-05-13 19:06:26)

Offline

#9 2011-05-13 19:15:23

hauzer
Member
From: Belgrade, Serbia
Registered: 2010-11-17
Posts: 279
Website

Re: Finding no longer used apps [Solved]

Well, it's just a simple pipe afterall, a tool to give you brief information upon which you decide what to do. Also, there's a minor annoyance, it should go like this:

stat -c '%x %n' /usr/bin/* | sort

I mixed long and short options for a moment there, that gets rid of the '=' in front of every line. big_smile


Vanity of vanities, saith the Preacher, vanity of vanities; all is vanity.
What profit hath a man of all his labour which he taketh under the sun?
All the rivers run into the sea; yet the sea is not full; unto the place from whence the rivers come, thither they return again.
For in much wisdom is much grief: and he that increaseth knowledge increaseth sorrow.

Offline

#10 2011-05-14 06:59:18

jeslinmx
Member
Registered: 2010-11-20
Posts: 120

Re: Finding no longer used apps [Solved]

Hmm. Never thought of that. I just gained 100 points of xp in commandlinefu! tongue


Lenovo Y450 + Arch x86_64 dual boot with Windows 7 + Openbox standalone + Arch default kernel + Nouveau + yours truly = A lot of *****in' in the Arch Forums.

Offline

Board footer

Powered by FluxBB