0

This question already has an answer here:

I have to list all dependencies of 71 packages. I planned to write a bash using this with a for loop but I got this message:

pactree : command not found

I have updated pacman but pactree still doesn't work. I searched in the arch repo and aur but both don't have pactree. What should I do to use pactree or at least list all dependencies?

marked as duplicate by jasonwryan, Community Sep 17 '18 at 18:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • I tried this ( $ expac -l '\n' %E -S [packages] | sort -u ) as the arch wiki suggested, but got the same error as pactree – Du Brisingr Arget Sep 17 '18 at 13:03
1

pactree is in the pacman-contrib package now, not the pacman package. expac is in an expac package.

Not the answer you're looking for? Browse other questions tagged or ask your own question.