1---
2title: "Compiling emacs from source code on Fedora"
3date: 2019-11-16
4tags: ['emacs', 'emacs27', 'linux', 'fedora']
5---
6
7Compiling emacs from source and installing on fedora.
8
9* Installing Packages
10Install the following packages:
11#+BEGIN_SRC
12sudo dnf install git autoconf make gcc texinfo \
13 gnutls-devel giflib-devel ncurses-devel \
14 libjpeg-turbo-devel giflib-devel gtk3-devel \
15 libXpm-devel -y
16#+END_SRC
17
18* Cloning Repository
19Clone repository [[http://savannah.gnu.org/projects/emacs/][savannah.gnu.org]]:
20#+BEGIN_SRC
21git clone -b master git://git.sv.gnu.org/emacs.git
22#+END_SRC
23
24* Compiling
25Navigate to emacs folder (~cd emacs~) and execute the following steps
26
27#+BEGIN_SRC sh
28./autogen.sh
29./configure
30make -j$(nproc)
31sudo make install
32#+END_SRC
33
34After verify version with ~emacs --version~, it should be equal or higher than
35=28.0.50=.