Is there any way to see what dependencies has a package installed? In other words what other packages were installed with the first one?
2 Answers
You can see what dependencies a package has by opening the *Packages*
menu with M-x list-packages
. Then navigate to your package of interest and hit RET
.
This will display a buffer describing the package, which includes a list of dependencies.
There's no way of knowing which of these packages were actually installed as dependencies, and which were manually installed by you. Though there's been talk of implementing that in the dev list.
(let ((desc (assoc '{YOUR_PAcKAGE} package-archive-contents)))
(if desc
(-map (lambda (elem) (car elem))
(aref (cadr desc) 4))))
-
4
-
2
-
1Thank you for your answer but as I am a newbie I don't really understand it.– AdamNov 22, 2014 at 19:53
package.el
. See here.