You are not logged in.
With time, lots of packages end up installed on my machine, and I'm pretty sure that a good share of them are not used at all and just occupy free space. However, it seems you can't track these packages using pacman conveniently. I would like to have a GUI app with package categorization, filtering and other useful features. Is there such an util which can help me to do the clean-up?
Offline
However, it seems you can't track these packages using pacman conveniently.
That depends on your definition of "convenience"... I would argue that pacman (and the tools built around it like paccache and expac) give you full control of your package cache.
Offline
There are GUIs for pacman
However there are also ways to clean up unnecessary packages using only pacman:
https://bbs.archlinux.org/viewtopic.php?pid=690438
https://bbs.archlinux.org/viewtopic.php?id=115796
https://bbs.archlinux.org/viewtopic.php?id=57431
Offline
If found bigpkg in the AUR helpful when clearing out https://aur.archlinux.org/packages/bigpkg
Offline
With time, lots of packages end up installed on my machine, and I'm pretty sure that a good share of them are not used at all and just occupy free space. However, it seems you can't track these packages using pacman conveniently.
This is really ambiguous. If you've never cleaned the package cache (/var/cahce/pacman/pkg), then you can probably consider most of what's in there wasted space. pacman itself has a means of cleaning out the cache, and the paccache command offers finer control over what you keep and remove from the cache. If, however, you mean that you have a very bad habit of installing stuff and never using it, then stop doing that. If you have a lot of garbage collecting on your system, the let the tedium of going through package descriptions and leftover .pacsave files be a negative incentive for you to be more careful in the future.
If found bigpkg in the AUR helpful when clearing out https://aur.archlinux.org/packages/bigpkg
I'm not familiar with all of bigpkg's features, but pacsysclean comes with the pacman package and will list all installed packages by the amount of space occupied, in descending order. Or ascending order, depending on how you think about it. It prints them starting with the package that takes the least space, but unless you pipe the output to a pager you'll start at the bottom of the list with the bigest package and scroll up to read it all, so... ![]()
Offline
You man also want to comb through the pacman manual to decode pacman -Qdt
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Cheers, I've never used pacsysclean. Comparing the output of both, aside from inversion, bigpkg give sizes that are, well, bigger. My biggest package, from bigpkg, is digikam at 261.35MB but pacsysclean reports it as 55.22MB.
Offline
Are you sure you understand how bigpkg works wrt the displayed package size?
Offline
Are you sure you understand how bigpkg works wrt the displayed package size?
No.
Offline
Another tool:
pacgraph -cOffline
karol wrote:Are you sure you understand how bigpkg works wrt the displayed package size?
No.
Very pithy.
I looked at the forum thread linked to in the bigpkg AUR page, and it seems bigpkg shows of individual packages + dependencies, while pacsysclean just shows individual packages. On the other hand, pacsysclean accepts flags listed by "pacman -Qh."
Offline
Thanks. I suspected dependencies but my plan to add up package+dependency sizes and compare results never came to fruition.
Offline
Thanks. I suspected dependencies but my plan to add up package+dependency sizes and compare results never came to fruition.
/usr/bin/bigpkg is a python script, you can read it to see how it works.
Offline