You are not logged in.
Pages: 1
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
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
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
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
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
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
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
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
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.
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
Hmm. Never thought of that. I just gained 100 points of xp in commandlinefu!
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
Pages: 1