aboutsummaryrefslogtreecommitdiff
path: root/content/posts/2019-11-16Compiling_emacs_from_source_code_on_fedora.md
blob: d316f404d2fc4c4166846e254508831eb3d61961 (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
Compiling emacs from source and installing on fedora.

# Installing Packages

Install the following packages:

    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

# Cloning Repository

Clone repository
[savannah.gnu.org](http://savannah.gnu.org/projects/emacs/):

    git clone -b master git://git.sv.gnu.org/emacs.git

# Compiling

Navigate to emacs folder (`cd emacs`) and execute the following steps

```shell
./autogen.sh
./configure
make -j$(nproc)
sudo make install
```

After verify version with `emacs --version`, it should be equal or
higher than `28.0.50`{.verbatim}.