This is my first time using Ubuntu and I dont know how I should install a program on it. I tried using cd the directory where it is and then ./configure it but it is not working!
This is my first time using Ubuntu and I dont know how I should install a program on it. I tried using cd the directory where it is and then ./configure it but it is not working!
Consider using Damien Cassou's PPA:
To add this PPA:
For emacs-snapshot:
Or, for emacs24 (i.e. 24.3, stable):
Update
As mentioned in Damien Cassou's PPA, the repository will not be maintained further (currently features Emacs 24.3) and it is recommended to use the Ubuntu Elisp PPA.
Hence, use this to add the PPA:
Ref: Emacs guide
You'll probably be better off using the version of emacs already built, tested, and packaged by Ubuntu rather than building it on your own, unless you need specific features that are only available in 24.3.
In a terminal:
Building it from source is not bad because you can choose the version that you need and Emacs will work even faster, the trouble is finding and installing dependencies.
Commands to install Emacs 24.5 w/ dependencies:
Done.
I'm using Ubuntu 14 LTS - x64 and following command works for me ;
For Daily Emacs build installation ;
Reference : Emacs Guide
The short answer: go back to Ubuntu 16 or earlier.
I just installed Ubuntu 18. The broken scrollbars in emacs 25.2.2 were driving me crazy. The other solutions here didn't work (apt no longer allows unsigned repos). I was able to install emacs 23.4 from the debian packages as follows:
https://packages.debian.org/wheezy/all/emacs23-common/download
https://packages.debian.org/wheezy/emacs23-bin-common
https://packages.debian.org/wheezy/amd64/libgif4/download
https://packages.debian.org/wheezy/amd64/xaw3dg/download
https://packages.debian.org/wheezy/amd64/libpng12-0/download
https://packages.debian.org/wheezy/amd64/libtiff4/download
https://packages.debian.org/wheezy/emacs23-lucid
I'm guessing that this technique would work for emacs 24.3 too.
But you don't want Ubuntu 18. The gnome volumes break everything; after a few reboots, ALL the local volume mounts fail (even /boot/efi, despite the hardware obviously having worked in memfs to get as far as local mount scripts), and you have to mount them manually in the emergency shell every time. Go back to Ubuntu 16, which comes with emacs 24.