aboutsummaryrefslogtreecommitdiff
path: root/content/logs/2019-11-16-compiling-emacs.org
blob: 23a2181ec1c242b4adad7c349d83a0f86eeb96d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title:  "Compiling emacs from source code on Fedora"
date:   2019-11-16
lastmod: 2020-08-25
tags: ['emacs', 'emacs27', 'linux', 'fedora']
---

Compiling emacs from source and installing on fedora.

* Installing Packages
Install the following packages:
#+BEGIN_SRC
sudo dnf install git autoconf make gcc texinfo \
    gnutls-devel giflib-devel ncurses-devel \
    libjpeg-turbo-devel giflib-devel gtk3-devel \
    libXpm-devel libtiff-devel libxml2-devel -y
#+END_SRC

* Cloning Repository
Clone repository [[http://savannah.gnu.org/projects/emacs/][savannah.gnu.org]]:
#+BEGIN_SRC
git clone -b master git://git.sv.gnu.org/emacs.git
#+END_SRC

* Compiling
Navigate to emacs folder (~cd emacs~) and execute the following steps

#+BEGIN_SRC sh
./autogen.sh
./configure
make -j$(nproc)
sudo make install
#+END_SRC

After verify version with ~emacs --version~, it should be equal or higher than
=28.0.50=.