Difference between revisions of "Emacs installation from source"

From Notes_Wiki
m
m
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<yambe:breadcrumb>Emacs</yambe:breadcrumb>
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Text editors]] > [[Emacs]] > [[Emacs installation from source]]
=Emacs installation from source=


Following steps can be used to install emacs from source:
Following steps can be used to install emacs from source:
#Install libotf-devel using '<tt>yum -y install libotf-devel</tt>'
#Install libotf-devel using '<tt>yum -y install libotf-devel libXaw-devel libpng-devel ncurses-devel</tt>'
#Download emacs source code from http://ftp.gnu.org/gnu/emacs/
#Download emacs source code from http://ftp.gnu.org/gnu/emacs/
#Extract source code archive
#Extract source code archive
#Configure using '<tt>./configure</tt>'. If you get no gif library support error (esp. on Cent-OS) then use '<tt>./configure --with-gif=no</tt>
#Configure using '<tt>./configure</tt>'. If you get no gif library support error (esp. on Cent-OS) then use '<tt>./configure --with-gif=no</tt>'.  In case you get error in function 'something_changed_gsettingsCB' then use '--without-gsettings' option as well.
#<tt>make</tt>
#<tt>make</tt>
#<tt>sudo make install</tt>
#<tt>sudo make install</tt>
#Run emacs using '<tt>emacs</tt>' command and verify emacs version displayed on welcome screen. You can also use menu Help -&gt; About emacs option to see emacs version. If emacs version is not latest then use something like '<tt>sudo cp /usr/local/bin/emacs /usr/bin/emacs</tt>' to overwrite OS default emacs with source installed emacs.
#Run emacs using '<tt>emacs</tt>' command and verify emacs version displayed on welcome screen. You can also use menu Help -&gt; About emacs option to see emacs version. If emacs version is not latest then use something like '<tt>sudo cp /usr/local/bin/emacs /usr/bin/emacs</tt>' to overwrite OS default emacs with source installed emacs.
[[Main Page|Home]] > [[CentOS]] > [[CentOS 6.x]] > [[Text editors]] > [[Emacs]] > [[Emacs installation from source]]

Latest revision as of 15:53, 24 August 2022

Home > CentOS > CentOS 6.x > Text editors > Emacs > Emacs installation from source

Following steps can be used to install emacs from source:

  1. Install libotf-devel using 'yum -y install libotf-devel libXaw-devel libpng-devel ncurses-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'. In case you get error in function 'something_changed_gsettingsCB' then use '--without-gsettings' option as well.
  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.


Home > CentOS > CentOS 6.x > Text editors > Emacs > Emacs installation from source