You are not logged in.
Pages: 1
Last month I released a tool (pacgraph) which draws a map of every installed package, their interdependencies, and their sizes. It's gotten nice feedback and I've added requested features such as theming and repository analysis.
By default the theme is set to a vaguely Arch colored scheme. Check the --help to change it. This is what my netbook looks like:
No two runs are the same.
And this is core/extra/community:
Yes, all of Arch is only 29 Gb.
I'd like to try to make the layout algorithms even prettier, but I've hit a bit of a snag and could use help. I only have half a dozen computers with Arch, and they largely look the same. My sample size is too small. To make any improvements, I'll need more examples.
Just run
pacgraph --rip
and email me the text file it makes. It is just a summary the /var/lib/pacman/local/ directory.
Thanks!
Offline
Sent mine
Matt
"It is very difficult to educate the educated."
Offline
The topic title made me think, oh noos not another screenie thread. But this is interesting!
Offline
Offline
Offline
I build the xorg-server-antidesktop from aur and it doesn't show up in the svg or in the pacgraph.txt from running pacgraph -r.
Its the only thing that stood out, not sure if there are any more that don't show up.
If i do pacman -Q | grep xorg it shows up.
Sending the pacgraph.txt.
/edit
On a 2nd look ffmpeg-svn, mplayer-svn and x264-git aren't there either but all show up in pacman -Q.
let me know if you need any info.
Last edited by droog (2009-05-30 18:06:48)
Offline
Really great idea! Tried to mail my txt, but the forum-mail does not support messages longer than 65535 characters.
Offline
Really great idea! Tried to mail my txt, but the forum-mail does not support messages longer than 65535 characters.
I just uploaded mine somewhere and emailed him the link, since no attachments can be sent.
Offline
I got droog's email and replied to that before noticing he first posted here. You can get my address from my site.
CC of what I sent droog:
Thanks.
The output does not list every package you have installed. For
example, if Skype is the only Qt app you have, Qt's deps and size will
be absorbed into Skype. I will look into it and make sure there is
not anything more serious going on.
This has been mostly beneficial. The process removes around a third of packages, and makes the size of the blue top level packages reflect the space freed by "pacman -Rssc". It makes the graph much more useful and readable. Here is a good example. It is a gnome system, with KDE installed just for the sake of Amarok. So Amarok + kde deps is about 300Mb, and it shows.
Last edited by keenerd (2009-05-30 21:46:01)
Offline
I'm curious as to why fortune-mod-calvin is way off there by itself instead on next to all the other fortune mods
Speed. Pacgraph chooses a reasonable order to place packages, based primarily on the degree centrality. (So glibc will always be the middle.) Each following package is placed like a spoke of a wheel from their most central parent. The spoke gets longer and longer until it finds a clear spot. Once a location is found, it is locked in place and the next package is placed.
Why did this cause your glitch? Pacgraph can't afford to waste time checking if a spoke's initial heading is clear. It tries to avoid nearby packages, but this is just a rough estimate. Unfortunately the heading was occupied by haiku, discworld, mirage and the kernel. I am a little surprised it overshot kernel by so much. I am working on this, and all your package listings will help significantly.
For comparison, graphviz makes all these links flexible springs and tries to jiggle nodes into a lower energy configuration. This compromise lets pacgraph's plotter run in O(n log(n)) vs graphviz/dot which runs O(n^4). Needless to say, plotting all of Arch's 3000-odd packages in graphviz takes much longer than in pacgraph. (Folk on the graphviz email list say it shouldn't be used for more than a hundred nodes.)
Glad you guys are enjoying it!
Last edited by keenerd (2009-05-30 21:24:58)
Offline
I've just sent mine.
Extremely cool idea and program!
Offline
Offline
Really nice!
You got mail. :-)
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
Awesome week! Altogether, there were more than a dozen rips. Thanks, all who sent in.
New version, new feature! It is very young, but "pacgraph-i" is an interactive Tk based GUI. There are a number of visual and usability issues. Some are fixable (window resizing, off center zooming and off center text), other not so much (no antialiasing or transparency in tk). It is missing a sidebar/search, maybe tomorrow.
Offline
---
Last edited by aantipop (2009-06-06 14:24:51)
rainbow networks - we bring colour to your gibs
Offline
Offline
Offline
Offline
You don't match with mine, ]:), ~ >12000 MB packages.
My Arch is since 2007 btw.
P.S> If someone wants more quality version of the screenshot || svg version, I'll email it.
Last edited by gnu_D (2009-12-23 13:51:14)
:: Python powered FOREVER ::
Offline
Here is mines
Registered Linux user :#500622
"être fort pour être utile" (be strong to be useful) —Georges Hébert
"There is only Good people and Bad people, we should not be judged by Race, religion or sex but we should be judged by our deeds or actions." - Lindsey Irving
Xenokite aka Lycan
Offline
Offline
e-mail sent
"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton
Offline
Sweet. Thanks!
Offline
Pages: 1