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:
git clone -b master git://git.sv.gnu.org/emacs.git
Compiling
Navigate to emacs folder (cd emacs
) and run the following steps
./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
.