4
4
I have tried to install emacs from source that I downloaded from the internet.
For that first I have chosen a path like:
/home/anand/emac/emac-23.1
(where emac-23.1 is the extracted file)
Then I make it run like follows:
root@anand:/home/anand/softwares/emac/emacs-23.1# ./configure
But it displays:
checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details.
I also tried another way:
sudo apt-get install emacs
But it displays:
Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package emacs
All the above was done under an Admin Login, but I couldn't get it to work.
Also see Minimal emacs24 installation on ubuntu. It provides instructions for downloading and building Emacs 24.5 from sources that is about 25 MB in size. Its a 4x improvement over a standard *
– jww – 2016-01-26T03:41:55.160emacs-nox
* package install from Debian and Ubuntu.Ubuntu linux comes without a lot of the things needed to compile programs. I think gnibbler's answer is correct, although I haven't tried it. – None – 2009-10-15T05:06:38.413
1Try sudo apt-get install emacs you missed the s off the end! – gnibbler – 2009-10-15T05:10:17.360
2Try running "sudo apt-cache search emacs", this should show you all packages which might have something to do with emacs. – Bobby – 2009-10-15T06:51:02.227