Of course command line. Follow me:
sudo apt-get install ssh cvs # cvs client
sudo apt-get install texinfo # for man package
*********************************************
export CVS_RSH="ssh"
cvs -z3 -d:pserver:anonymous@cvs.sv.gnu.org:/cvsroot/emacs co -r emacs-unicode-2 emacs #get source
*********************************************
sudo apt-gt install build-essential
sudo apt-get build-dep emacs
sudo apt-get install xserver-xorg-dev
sudo apt-get install xorg-dev
sudo apt-get install libncurses5
sudo apt-get install libncurses5-dev # env of compiling
*********************************************
./configure -prefix=/usr -with-x-toolkit=gtk -with-xft #make sure in your emacs
make bootstrap
sudo make install
If you have some error when you had been run command “make bootstrap”, such as
make[2]: *** No rule to make target
`/home/****/emacs/lisp/org/org-agenda.elc’, needed by
`compile-main’. Stop
You should use the code:
cvs -z3 -d:pserver:anonym...@$address:/sources/emacs co emacs
e.g.
$address: "cvs.sv.gnu.org" 、"cvs.savannah.gnu.org" , and all
and then
make clear ; make bootstrap ; sudo make install
************************************************
And then, I’ll make that supporting chinese. Let’s go.
vi /etc/X11/xorg.conf #add FontPath (e.g. simsun)
xlsfonts | grep gb2312 #make sure those fonts being included here
vi ~/.Xresources
add these code in your .Xresources
e.g.
Emacs.Font: fontset-chinese
Emacs.Fontset-0:-*-fixed-medium-r-*-*-14-*-*-*-c-*-fontset-chinese,\
chinese-gb2312:-*-simsun-medium-r-*-*-12-*-*-*-p-*-gb2312.1980-*
xrdb -merge .Xresources
Good Luck!