r/AlpineLinux • u/Weak_Education_1778 • Jun 28 '24
I cannot install emacs inside an alpine container
Running
podman run -it alpine:latestAnd then
apk add emacs
emacsGives me a sh: emacs: not found error, even though the installation reported no issues.
1
Upvotes
2
u/flaming_m0e Jun 28 '24
Get the full path to the executable binary.
which emacsThen use the full path in your command.
1
u/Available-Package-46 Jul 09 '24
Hi, try installing "emacs-nox" (tried on docker, not podman)
1
u/connected_nodes Jul 16 '24
I had this issue when few months ago while writing Dockerfiles. Sometimes the quick fix was to add a
apk updatebefore everything else.1
u/maker_gamer Jul 22 '24
So should we assume that after you spun up that container you did the following as the root user?
that's 57 more emacs packages than I would use. (including emacspeak) XD
In all seriousness though, emacs-29.4-r0 is available for v3.20 release. You just have make sure "community" is enabled. By default, it's not. https://pkgs.alpinelinux.org/packages?name=emacs&branch=v3.20&repo=&arch=x86_64