Linux – How to launch emacs that was installed with conda

anacondaemacslinux

I installed emacs under conda with conda install -c conda-forge emacs

However when calling emacs from the command line, I still get the default old emacs.

I tried:

  1. log-out log-in into my ssh session, but it didn't work.
  2. calling it explicitly:
    <my home dir>/anaconda2/pkgs/emacs-25.2-0/bin/emacs.
    But it result with an error: <my home dir>//anaconda2/pkgs/emacs-25.2-0/bin/emacs: error while loading shared libraries: libjpeg.so.9: cannot open shared object file: No such file or director

Note: When I execute python, I see that it runs the anaconda-version of python.

Any idea on how can I execute the emacs installed under conda?

Best Answer

I just tried conda run emacs and it seems to work.

Related Question