mkdir /tmp/emacs
cd /tmp/emacs
wget https://ftp.gnu.org/pub/gnu/emacs/emacs-24.4.tar.xz
tar xvf emacs-24.4.tar.xz
cd emacs-24.4
./configure --prefix=/usr \
--without-gnutls \
--localstatedir=/var &&
make
if make succeeds, you can test the result by running src/emacs -Q
sudo make install && sudo chown -v -R root:root /usr/share/emacs/24.4
For a desktop launcher:
vim cat <<EOF > /usr/share/applications/emacs.desktop
[Desktop Entry]
Version=1.0
Name=Emacs-24
Exec=/usr/local/bin/emacs
Terminal=false
Icon=emacs
Type=Application
Categories=IDE
[NewWindow Shortcut Group]
Name=New Window
EOF
No comments:
Post a Comment