XEmacs -- Emacs: The Next Generation
English
German
Japanese
America
Australia
Europe
   
     About XEmacs Getting XEmacs Customizing XEmacs Troubleshooting XEmacs Developing XEmacs       

XEmacs Installation HOWTO

2002-02-21

These installation instructions apply to UNIX and Linux systems and assume that you have root access. These instructions result in a non-Mule XEmacs. If you have to alter or modify any steps in order to install on your configuration, or if these instructions are not clear or do not work for you, please email the details to webmaster@xemacs.org .

If you already have a working XEmacs of version 21.1 or greater around, you may want to install the XEmacs build package.

Its documentation should give you a better understanding of the XEmacs build process on UNIX and Windows alike, no matter whether you want to build from tarballs or CVS.

  1. Check out the list of optional external libraries used by XEmacs. Obtain, build, and configure any you do not have.

  2. Download the following files from the beta , gamma , or stable directory of a networkologically close mirror (depending on whether you want to build a beta version, a gamma version, or a stable XEmacs version). Substitute the XEmacs version number for <VERSION> below (e.g. VERSION=21.1.14 is the latest stable version as of 2002-02-21).

    Source Tarball:
    xemacs-<VERSION>.tar.gz
    Lisp Tarball:
    xemacs-<VERSION>-elc.tar.gz
    Info Documents Tarball:
    xemacs-<VERSION>-info.tar.gz

  3. Expand the above files into the directory used for compiling, e.g.

    gzip -dc xemacs-<VERSION>.tar.gz | tar xf -
          
  4. Change to the directory where you expanded the files, e.g.

    cd /usr/src/xemacs-<VERSION>
  5. This step does not apply to a native Windows build. After reading about all the available options in configure.usage, type:

    ./configure
          [--OPTION[=VALUE]
              ...] [CONFIGURATION]; make
  6. After configuration finishes, switch to the root account and type

    make install

    If you don't have root priviledge, you may run XEmacs in-place after typing

    make all
  7. Download

  8. efs-*-pkg.tar.gz
  9. xemacs-base-*-pkg.tar.gz
  10. (the current version number will replace the *) from the packages directory of www.xemacs.org or a mirror in your country: at au be br ca ch cz de dk fi fr hu ie it jp kr no nz pl ru sa se sk tw uk us za

  11. Expand the above files into /usr/local/lib/xemacs/xemacs-packages/. If you would prefer to install these in a different location, set the EMACSPACKAGEPATH environment variable to your preferred location. Then extract the files in that location. Don't forget to export the variable, and to add it to the appropriate startup script!

  12. Start XEmacs by typing

    xemacs

    If you're trying XEmacs without installing it (make all), start it with ./src/xemacs from the top-level directory in the XEmacs source tree.

  13. From the menubar, choose Options -> Manage Packages -> Add Download Site, and pick a networkologically close mirror.

  14. From the menubar, choose Options -> Manage Packages -> List and Install. This will download the most recent package index (PGP errors may occur and can be ignored) and list the packages available for install. Instructions and key bindings for this buffer are at the bottom; use the scroll bar to view them. If in doubt about a particular package, it is generally safe to just install it.

  15. An overview of existing packages and their purpose may be found at ../Develop/packages.html and under the XEmacs source tree in etc/PACKAGES.

  16. Select the packages you wish to install and then choose: Package -> Add Required. This will select any packages that are needed by the ones you have selected.

  17. From the menubar, choose Packages -> Install/Remove Selected

  18. Once the package files have been downloaded and installed, XEmacs must be exited and restarted in order to use the package functions.

 
 
  Made with XEmacs!
Valid XHTML 1.0!
Checked by Linklint
  This page is part of the XEmacs website <http://www.xemacs.org>
Contents copyright © 2000, 2001; all rights reserved.
Maintained by webmaster@xemacs.org
Hosted by SourceForge Logo sunSITE.dk Logo Tux.Org Logo
This page last modified Fri Feb 22 22:46:29 2002 UTC.
 
 
Conform with <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Automatically validated by PSGML