Introduction to Emacs

The Emacs package contains an extensible, customizable, self-documenting real-time display editor.

This package is known to build and work properly using an LFS-7.8 platform.

Package Information

Emacs Dependencies


X Window System, alsa-lib-1.0.29, D-Bus-1.10.0, GConf-3.2.6, giflib-5.1.1, GnuTLS- (currently broken), gobject-introspection-1.44.0, gsettings-desktop-schemas-3.16.1, GPM-1.20.7, GTK+-2.24.28 or GTK+-3.16.6, ImageMagick-6.9.2-0, libjpeg-turbo-1.4.2, libpng-1.6.18, librsvg-2.40.10, LibTIFF-4.0.6, libxml2-2.9.2, MIT Kerberos V5-1.13.2, Valgrind-3.10.1, intlfonts, libungif, libotf and m17n-lib - to correctly display such complex scripts as Indic and Khmer, and also for scripts that require Arabic shaping support (Arabic and Farsi), and libXaw3d

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/emacs

Installation of Emacs

Install Emacs by running the following commands:

./configure --prefix=/usr        \
            --without-gnutls     \
            --localstatedir=/var &&

This package does not come with a test suite. If make succeeds, you can test the result by running src/emacs -Q, which is the program that will be installed, with its auxiliary files. This should start and display the application opening screen.

Now, as the root user:

make install &&
chown -v -R root:root /usr/share/emacs/24.5

This package installs icon files into the /usr/share/icons/hicolor hierarchy and desktop files into the /usr/share/applications hierarchy. You can improve system performance and memory usage by updating /usr/share/icons/hicolor/icon-theme.cache and /usr/share/applications/mimeinfo.cache. To perform the update you must have GTK+-2.24.28 or GTK+-3.16.6 installed (for the icon cache) and desktop-file-utils-0.22 (for the desktop cache) and issue the following commands as the root user:

gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &&

Command Explanations

--without-gnutls: Currently, build is broken with gnutls-3.4 and later.

--localstatedir=/var: Create game score files in /var/games/emacs instead of /usr/var/games/emacs.


Installed Programs: ctags, ebrowse, emacs (symlink), emacs24.5, emacsclient, etags, and grep-changelog
Installed Libraries: None
Installed Directories: /usr/libexec/emacs, /usr/share/emacs, and /var/games/emacs

Short Descriptions


creates cross-reference tagfile database files for source code.


permits browsing of C++ class hierarchies from within emacs.


is an editor.


attaches an emacs session to an already running emacsserver instance.


is another program to generate source code cross-reference tagfiles.


prints entries in Change Logs matching various criteria.

Last updated on 2015-09-18 21:40:16 +0000