Emacs is a very good tool. Due to its complicated configuration, he has never dared to learn it. Recently, he planned to learn the basic functions of Linux, because the CVS version has added some new features, so I compiled the CVS version.
1. Download the CVS version code
Sudo apt-Get Install SSH CVS
Export cvs_rsh = "ssh"
CVS-Z3-D: pserver: anonymous@cvs.sv.gnu.org:/cvsroot/EmacsCOEmacs
PS: the Unicode version has been incorporated into the master Emacs version.
If you want to update a CVS version to the latest version later, you only need to execute
CVS Update-
2. Install the compilation environment (if these libraries are not installed, emacs may be opened directly on the terminal without borders, just like VI)
Sudo apt-Get install build-essential
Sudo apt-Get build-dep emacs21
Sudo apt-Get install xserver-Xorg-Dev
Sudo apt-Get install Xorg-Dev
Sudo apt-Get install libncurses5
Sudo apt-Get install libncurses5-dev
Sudo apt-Get install libgtk2.0-Dev
3. Compile Emacs to enable Emacs to support xft fonts. Specify the GTK environment.
./Configure -- With-xft -- With-x
Make Bootstrap
4. Install Emacs
Sudo make install
5. There is a good configuration Article http://forum.ubuntu.org.cn/viewtopic.php? T = 18274
PS: For Emacs packaging,
In ubuntu, package the software into Deb for installation, which is a formal method. If you want to install make install, sometimes it will not work if you want to uninstall it,
It is easy to manage after packaging. You can also share your efforts with others.
Here is a simple method, dh_make, fakeroot, dpkg-buildpackage, which must be installed
CD Emacs
Dh_make-f ../emacs.tar.gz
Modify Debian/rules,
# Add here commands to compile the package.
$ (Make)
Modify
# Add here commands to compile the package.
$ (Make) bootstrap
./Add -- With-xft -- With-X to configure.
Then, you can package dpkg-buildpackage-rfakeroot.