This is my brief notes on how to install Debian Lenny
build-essential fakeroot debhelper libncurses5-dev wget bzip2 udev yaird kernel-package
cd /usr/src wget ... linux-2.6.22.2.tar.bz2 tar xvvjf linux-2.6.22.2.tar.bz2 ln -s linux-2.6.22.2 linux cd linux make menuconfig # [Intel P4;...] make-kpkg clean sudo fakeroot make-kpkg --revision=whatever kernel_image cd /usr/src sudo dpkg -i linux-2.6.22.2-whatever.deb cd /boot mkinitrd.yaird -o initrd.img-2.6.22.2 2.6.20.2 update-grub
now check /boot/grub/menu.lst
module-assistant gcc-3.3 ...
chmod +x ati-*.bin [sudo ./ati-*.bin --listpkg] sudo ./ati-*.bin --buildpkg Debian/etch cd .. sudo dpkg fglrx*.deb cd /usr/src [tar xvvjf fglrx.tar.bz2] sudo module-assistant prepare sudo module-assistant build fglrx sudo module-assistant install fglrx or just sudo m-a a-i fglrx
Then restart X
modprobe -v fglrx
Check fglrxinfo fgl_glxgears
apt-get install locales
dpkg-reconfigurer locales
apt-get install msttcorefonts
apt-get install ttf-arphic-*
apt-get install xfonts-intl-chinese*
install wenquanyi
# optional: [simsun msyh...]
apt-get install scim*
For using zh_CN.UTF-8 as default locale:
touch /etc/X11/XSession.d/95locale-xinput-set
It looks like:
/usr/bin/scim -d # or fcitx & XMODIFIERS=@im=scim # or fcitx GTK_IM_MODULE=scim # or fcitx export XMODIFIERS GTK_IM_MODULE export LANG=zh_CN.UTF-8 export G_FILENAME_ENCODING=@UTF-8 [ x"$GTK_IM_MODULE" = "xscim" ] && export GTK_IM_MODULE="$GTK_IM_MODULE-bridge"
Or choosing C as default locale and do the similar thing.
GTK1 Chinese characters:
sudo ln -s /etc/gtk/gtkrc.zh_CN /etc/gtk/gtkrc.zh_CN.utf-8
Non-free Fonts (Type1 & TrueType) [Luxi Sans is required by Lotus Notes 8 on Linux]
sudo apt-get install t1-xfree86-nonfree ttf-xfree86-nonfree
apt-get install mplayer mplayer-plugin* gmplayer apt-get install win32codec [sid-32 chroot]
download vlc and compile it
[download mac-port from http://sourceforge.net/projects/mac-port/] (no longer exists)
download gstream-monkeyaudio from http://gstreamer.freedesktop.org/src/gst-monkeysaudio/gst-monkeysaudio-0.8.2.tar.gz
download audacious-mac from http://morgoth.free.fr/ubuntu/pool/main/a/audacious-mac/
a) get jdk from sun
b) put it to /opt/jdk1.6.x
c) sudo ln -s /opt/jdk1.6.x /opt/jdk1.6
d)
sudo update-alternatives --install /usr/bin/java java /opt/jdk1.6/bin/java 1 sudo update-alternatives --config java
do the similar things for javac, javah, jarsigner
apt-get install ecb apt-get install (emacs+mode)
For the error message ‘Gtk-WARNING **: Failed to load module “libgnomebreakpad.so”: libgnomebreakpad.so: cannot open shared object file: No such file or directory’, do the following:
touch /etc/ld.so.conf.d/gtk-2.0.conf cat > /etc/ld.so.conf.d/gtk-2.0.conf > /usr/lib/gtk-2.0/modules