Emacs installation from source

From Notes_Wiki
Revision as of 04:54, 13 November 2012 by Saurabh (talk | contribs) (Created page with "=Emacs installation from source= Following steps can be used to install emacs from source: #Install libotf-devel using '<tt>yum -y install libotf-devel</tt>' #Download emacs ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Emacs installation from source

Following steps can be used to install emacs from source:

  1. Install libotf-devel using 'yum -y install libotf-devel'
  2. Download emacs source code from http://ftp.gnu.org/gnu/emacs/
  3. Extract source code archive
  4. Configure using './configure'. If you get no gif library support error (esp. on Cent-OS) then use './configure --with-gif=no
  5. make
  6. sudo make install
  7. Run emacs using 'emacs' command and verify emacs version displayed on welcome screen. You can also use menu Help -> About emacs option to see emacs version. If emacs version is not latest then use something like 'sudo cp /usr/local/bin/emacs /usr/bin/emacs' to overwrite OS default emacs with source installed emacs.