jwiegley / use-package

A use-package declaration for simplifying your .emacs
https://jwiegley.github.io/use-package
GNU General Public License v3.0
4.4k stars 259 forks source link

Dependent packages installation with one use-package command. #940

Closed hongyi-zhao closed 1 year ago

hongyi-zhao commented 3 years ago

Say, I want to install a package A, which in itself dependent on other packages, B and C. In this case, how to install them all in one use-package command?

Regards, HY

doolio commented 2 years ago

Firstly, use-package is not a package manager rather it simplifies package configuration. I presume you are using the :ensure keyword in your use-package forms to use package.el to install packages. If so then installing package A will also install its dependencies B and C.

(use-package A
  :ensure t)
skangas commented 1 year ago

This support question was answered, so I'm closing this issue now.