You are not logged in.
do you know of a package that draws dependency graphs of installed packages, i.e. "draw me a graph of the package vlc and its dependencies"?
On Debian, there is a tool called debtree, on arch I found pacgraph, but pacgraph draws the entire system, I want to specify specific packages...
Thanks!
Last edited by awayand (2011-05-30 08:48:08)
Offline
aur/pactree?
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
pacman -Ql pacman | grep pactree
pacman /usr/bin/pactree
pactree comes with the default install.
edit: pacgraph can draw dependencies for a single packet too...
pacgraph -m arch-repo vlc
Last edited by Wey (2011-05-17 18:54:23)
Offline
pacman -Ql pacman | grep pactree pacman /usr/bin/pactree
Only as an aside - there is no grep needed:
pacman -Qo /usr/bin/pactree
/usr/bin/pactree is owned by pacman 3.5.2-1
To know or not to know ...
... the questions remain forever.
Offline
That asumes you already know where the binary is located. On the other side, my approach implies you know the right package name. The following would resolve these problems:
pacman -Qo $( which pactree )
Offline
That asumes you already know where the binary is located. On the other side, my approach implies you know the right package name. The following would resolve these problems:
pacman -Qo $( which pactree )
Actually, you need neither to know the path nor use 'which':
[karol@black ~]$ pacman -Qo pactree
/usr/bin/pactree is owned by pacman 3.5.2-1
http://projects.archlinux.org/pacman.gi … ?id=v3.4.0
- allow -Qo to perform a functional 'which' (FS#8798)
Last edited by karol (2011-05-17 19:30:10)
Offline
pacman -Ql pacman | grep pactree pacman /usr/bin/pactree
pactree comes with the default install.
Oops... sorry, used it only once...
Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd
Offline
how do you build a dependency tree with a package you don't have installed? (like one in AUR or the Repositories)
Offline