ans42

assert(random() == 0x2a)

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

1 Motivation

use pacman python matplotlib graphviz to analysis ArchLinux Packages Repository by statistics and visualization.

2 Analysis

2.1 Number of packages and groups of remote repositories

Xallcoreextracommunity
packages512218926812252
groups70000

2.2 Number of installed packages

Xexplict-installedas-dependenciesorphansforeign
N197232114

2.3 Package Installed Size Distribution

We use matplotlib to visualize package size distribution.

./pkg-sizes.png

2.4 Package Dependencies

We use graphviz to visualize package dependencies. Red color nodes represent explict installed packages, Boxed nodes represent package groups.

./pkg-deps-20.png click here to see big image.

2.5 Source Code

posted on 2011-06-18 01:13  ans42  阅读(301)  评论(0编辑  收藏  举报