checkinstall would be a good idea if you want to be able to remove/upgrade the program.
https://wiki.debian.org/CheckInstall On 10/25/15, Teemu Likonen <tliko...@iki.fi> wrote: > Sivaram Neelakantan [2015-10-25 20:00:35+05:30] wrote: > >> Else I'll have to build from scratch I guess. > > That's a good choice and nothing to be afraid of. In Debian 8 it would > go like this: > > > sudo apt-get install git build-essential libgtk2.0-dev \ > libgnutls28-dev libfontconfig1-dev libotf-dev libm17n-dev \ > libtiff5-dev libxpm-dev libncurses5-dev libpng12-dev \ > librsvg2-dev libgif-dev imagemagick libgconf2-dev libasound2-dev \ > texinfo liblockfile-dev libmagick++-6.q16-dev gnutls-bin \ > autoconf automake > > git clone git://git.savannah.gnu.org/emacs.git > > cd emacs > > ./autogen.sh > > ./configure --with-x-toolkit=gtk > > make bootstrap > > sudo make install >