Skip to main content
27 votes

Installing Emacs from source: 'make' fatal error: 'libxml/tree.h' file not found

The accepted answer does not work anymore since libxml2 will be installed inside the XCode directory. The solution is described here: https://silvae86.github.io/sysadmin/mac/osx/mojave/beta/libxml2/...
carlbolduc's user avatar
17 votes
Accepted

how install emacs 26 (or whatever latest ver) on mac

Have a look at brew emacs recipe options with brew info emacs. It has this option: --devel Install development version 26.0.90 To replace your current emacs, run: brew unlink emacs brew ...
Heikki's user avatar
  • 3,076
14 votes
Accepted

How to automate installation of packages with .emacs file?

The easiest way is to install use-package. (package-initialize) (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (dolist (package '(use-...
njdan5691's user avatar
  • 156
10 votes

how install emacs 26 (or whatever latest ver) on mac

A current (at time of this comment) way to install the GUI version of Emacs (26.2 at this time) on macOS Mojave is with brew cask install emacs This will install Emacs.app package in to /...
Michael Teter's user avatar
10 votes
Accepted

Location of Emacs' installation

Executing the command which emacs in your terminal should tell you where it is installed.
Tephra's user avatar
  • 831
10 votes

eww ---> libxml2 library not found

As @Drew noted, Emacs doesn't include this library so on Windows you need to install it separately. See the Emacs README.w32 section "Optional dependency libraries" for more information. As of Emacs ...
glucas's user avatar
  • 20.6k
9 votes
Accepted

How to install GNU Emacs on Windows 10 Pro?

Some third-party Windows package managers offer a straightforward installation of GNU Emacs on Windows 7+. Notes: Chocolatey requires an administrative shell access, whereas Scoop does not and makes ...
andselisk's user avatar
  • 208
9 votes

Emacs on new Mac M1?

Yes, https://emacsformacosx.com works on the M1 Macs. However, it does also require that you override the security preferences regarding app identity when you have downloaded and installed the package,...
John K's user avatar
  • 91
8 votes

how install emacs 26 (or whatever latest ver) on mac

Unfortunately brew linkapps is now deprecated. You can use brew cask install emacs but it doesn't allow you to download emacs 26 as of 4/1/2018. EDIT: As Guilherme Salomé pointed out, now brew cask ...
ibizaman's user avatar
  • 261
7 votes

How to install a specific version of package?

You can use el-get to install any specific revision of any package, from a git repo. (el-get-bundle git-timemachine :checkout "3.0") This will clone git-timemachine from github and checkout tag 3....
lorefnon's user avatar
  • 171
6 votes

How to automate installation of packages with .emacs file?

package.el keeps track of the packages you asked to install (as opposed to those that are auto-installed as dependencies) in the custom variable package-selected-packages. So if you copy your ~/....
Stefan's user avatar
  • 26.5k
6 votes

how install emacs 26 (or whatever latest ver) on mac

This only installs the terminal version of Emacs 26.1. If you (like me) prefer to use the GUI version of Emacs then you can't install it with brew install emacs This is because the people who ...
Anmol Jagetia's user avatar
6 votes
Accepted

Installing Emacs from source: 'make' fatal error: 'libxml/tree.h' file not found

The error message described in the question has previously been encountered by other fellow Emacs enthusiasts, and the recommended fix is to install OSX command line tools by running the following ...
lawlist's user avatar
  • 19.2k
5 votes
Accepted

Installing Emacs from source: no 'configure' file

This line only applies to release tarballs (hence why it says "unpacked") which come with a configure script. For the git checkout you'll need to generate it with ./autogen.sh. Be sure to check out ...
wasamasa's user avatar
  • 22.2k
5 votes

how install emacs 26 (or whatever latest ver) on mac

MacOs has its own Emacs. In 2019 it's still 22.x. To use the last Emacs version do In Terminal run brew cask install emacs - it will install the latest emacs version to /Applications folder. Then ...
Rostyslav Druzhchenko's user avatar
5 votes
Accepted

Is it possible to wrap a small package not listed on MELPA/ELPA via use-package? How to do it?

Yes, it is possible to use use-package, and it will be less verbose than including the entire snippet. You will need to basically add the centeredpoint.el file to Emacs load-path. One option is to ...
Swarnendu Biswas's user avatar
4 votes
Accepted

emacs minimal install for Ubuntu server use

Probably emacs24-nox is the package you want instead.
Willy Lee's user avatar
  • 470
4 votes
Accepted

Is it normal for a package to request [sudo] in order to install a package? (this case pdf-tools) concerned about password integrity

The reason you were asked for your password was that apt-get install was being invoked to install the additional software (poppler and friends) needed by pdf-tools. 1) Is this typical? No -- the ...
phils's user avatar
  • 51.7k
4 votes

Emacs on new Mac M1?

Yes. The Emacs from macsformacosx.com works in GUI mode on the Mac M1. It is running in x86 emulation mode, not native ARM mode, but it works. I plan to try some of the other versions later (Mitsuharu'...
amitp's user avatar
  • 2,541
4 votes

How to install emacs29 with X11 support?

When you compile Emacs you have options for specifying which windowing system to use, if any. In current versions of Emacs, the options are: --with-x use the X Window System --with-pgtk use ...
phils's user avatar
  • 51.7k
4 votes
Accepted

Melpa packages not listed

See the official website of MELPA: (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) Did you notice that it ...
shynur's user avatar
  • 5,473
3 votes
Accepted

What is the proper way to identify a font for .spacemacs file?

It wasn't a naming issue, it was a dependency issue possibly related to me using Red Hat Fedora. I was missing the liboft-dev library emacs needs to read .otf files, which are separate from the liboft ...
Logan S.'s user avatar
  • 181
3 votes
Accepted

Is updating Emacs and installing Emacs the same thing?

In your case probably not. Linux distributions like Fedora (Ubuntu, Debian, Red Hat and so on) work with packages. The content of those packages are ready to use programms. Normaly you install them ...
jue's user avatar
  • 4,596
3 votes
Accepted

Open Emacs GUI from terminal (keep process running in terminal)

Your emacs is running as a background process for some reason. I would have to guess why (see below). You could try to get emacs back to foreground by running fg immediately after running emacs (...
jue's user avatar
  • 4,596
3 votes

Is it possible my Windows Emacs install was compromised by a virus?

You’re fine. Believe it or not, DESKTOP-2LURKID is actually your computer’s host name. Windows chooses that host name in a pretty odd way that results in unique names but not very usable ones. Since ...
db48x's user avatar
  • 18.4k
2 votes

How to install a specific version of package?

Update as of 2022, elpa lists the older versions of a package on its page. One can download the archive file and then use package-install-file command on emacs to install this specific version. I ...
subhacom's user avatar
2 votes

Is it possible to install emacs 25.1 and emacs 24 on the same machine?

I use MS Windows, with prebuilt Emacs binaries. Unlike what @antonio says, I have a single HOME environment variable, and its location has nothing to do with Emacs. I create a Windows shortcut to ...
Drew's user avatar
  • 78k
2 votes
Accepted

Is it possible to install emacs 25.1 and emacs 24 on the same machine?

In Windows it is easy: you need to set two distinct $HOME folders to host the packages. For OSX the process should be as follows. After installing Emacs 24 and 25, in distinct folders, create two ...
antonio's user avatar
  • 1,822
2 votes

Conflict in package installed with both package and el-get?

Does this mean the package is duplicated? Probably. Though it's also possible to tell el-get to install packages via package.el. Use M-x el-get-describe to see the :type of the package, if it's ...
npostavs's user avatar
  • 9,213
2 votes
Accepted

Why is the emacs-25.1-2 binary for Windows so big?

It's compiled with different compiler options to address performance issues. https://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00284.html
John Tall's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible