Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Install all Emacs dependencies at once #18

Open
FrostyX opened this issue Dec 31, 2024 · 0 comments
Open

Install all Emacs dependencies at once #18

FrostyX opened this issue Dec 31, 2024 · 0 comments

Comments

@FrostyX
Copy link
Owner

FrostyX commented Dec 31, 2024

Currently, we do

(frostyx/dnf :install "python3-virtualenv")
(frostyx/dnf :install "leiningen")
(frostyx/dnf :install "emacs-rpm-spec-mode")

Which runs DNF multiple times, asks for password multiple times, etc. See also
https://gitlab.com/jabranham/system-packages/-/merge_requests/36

We should have a function that is run only when needed (maybe only through M-x) and does all installations within a single DNF command. Can be done like this:

(use-package emacs
  :ensure-system-package "nano vim")

Maybe we should replace all the individual installs with a function call that appends the package to a list of dependencies and then run all of them at once.

See https://www.gnu.org/software/emacs/manual/html_node/use-package/use_002dpackage_002densure_002dsystem_002dpackage.html

Alternatively we could use ansible but I'd like my Emacs setup to be somewhat self-contained.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant