Thursday, December 18, 2008

Install Mplayer on Centos 5

1.
yum install yum-fastestmirror

2.
yum install yum-priorities

3.

Download (corresponding to your computer)
i386 http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
x86_64 http://apt.sw.be/redhat/el5/en/x%20...%201.el5.rf.x86_64.rpm

4.
Install DAG's GPG key

rpm --import http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt

5.

Check

rpm -K rpmforge-release-0.3.6-1.el5.rf.*.rpm (you don't have to do this step)

Install:

rpm -ivh rpmforge-release-0.3.6-1.el5.rf.*.rpm

6.
Check for update:

yum check-update

This step might take a longer time, system will create a file named "primary.xml.gz"

7.
yum install mplayer*

8.
[root@centos installed]# yum check-update

9.

application ---> Sound and Video --->mplayer

Complete!!

Install Chinese pinyin input method on Ubuntu

Go to the following URL:
http://code.google.com/p/scim-python/downloads/list

download file:
scim-python-0.1.12.tar.gz

Execute commands:

$ sudo apt-get install scim-dev
$ sudo apt-get install Python-dev
$ sudo apt-get install python-enchant
$ sudo apt-get install python-gtk2-dev
$ sudo apt-get install libgtk2.0-dev
$ tar zxvf scim-python-${version}.tar.bz2
$ cd scim-python-${version}
$ ./configure –prefix=/usr
$ make
$ sudo make install

The Chinese input method will effect after you log out and then log in,