installing emacs on CentOS

25,328

Solution 1

emacs is in the epel repos. Open a terminal and run:

sudo yum install epel-release
sudo yum install emacs

Solution 2

You can get source at: ftp://ftp.gnu.org/pub/gnu/emacs/

Then use these commands.

tar -zxvf emacs-VERSION.tar.gz

cd emacs-VERSION

./configure        

make                

make install

Source: https://www.gnu.org/software/emacs/manual/html_node/efaq/Installing-Emacs.html

Share:
25,328

Related videos on Youtube

kkr
Author by

kkr

Updated on September 18, 2022

Comments

  • kkr
    kkr over 1 year

    I installed VMware and I have centOS installed in it and I'd like to install emacs on it but I don't find any source which has the tar file for that. I either find it for Linux or Solaris but when I tried installing the tar file given for Linux on VM it isn't installing. Can anyone give me the source where I can find the tar file for emacs that I can install on VM and also instructions on how to install it? I find using emacs easier than VIM. And what is the difference between Linux installed on disc and installed on a VM?

    • Pankaj Goyal
      Pankaj Goyal over 7 years
      why can't you just yum install emacs?
  • Paddy Popeye
    Paddy Popeye over 3 years
    sudo yum install epel-release ....... "already installed and latest version" sudo yum install emacs ....... "no package emacs available"