The package ttfonts-zh_CN has been replaced in RHEL5 with fonts-chinese.
Archive for the ‘Language’ Category
Go to System Preferences -> International -> Input Menu and make sure “Show input menu in menu bar” is checked. This will put a little flag in your menu bar.
Then click on your flag and select “Show Character Palette”. Then just click on the symbol you want and then click “Insert”. Here’s the angstrom symbol: Ã…
I recently updated the kernel on our mailserver and found that spamassassin would no longer run. I was getting an error message something like this:
Errno architecture (i386-linux-thread-multi-2.6.9-78.0.1.elsmp) does not match executable architecture (i386-linux-thread-multi-2.6.18-128.1.1.el5) at /usr/lib/perl5/site_perl/5.8.8/Errno.pm line 11. Compilation failed in require at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm line 17. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/IO/Socket.pm line 17. Compilation failed in require. BEGIN failed--compilation aborted.
The solution was to get rid of everything that I installed with cpan. That means I just renamed /usr/lib/perl5/site_perl to something else and remade the site_perl directory with the following files:
/usr/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/auto /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi/auto /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto
After that, spamassassin started with no problems.
So, how to install other cpan modules without using cpan? (Since it can cause problems.) I added the Dag repository (http://dag.wieers.com/) to my setup. Just create a file /etc/yum.repos.d/dag.repo with the following:
# # DAG (http://dag.wieers.com) additional RPMS repository # [main] [dag] name=DAG (http://dag.wieers.com) additional RPMS repository baseurl=http://linuxsoft.cern.ch/dag/redhat/el4/en/$basearch/dag gpgkey=http://linuxsoft.cern.ch/cern/slc4X/$basearch/docs/RPM-GPG-KEY-dag gpgcheck=1 enabled=1
They actually have rpms for a lot of the modules. Then, I can simply run:
yum install perl-File-Find-Rule
After installing linux, you can add Chinese language support by installing these rpms:
kde-i18n-Chinese
ttfonts-zh_CN
For Japanese, the files are:
kde-i18n-Japanese
ttfonts-ja
The user will need to log out and back in for them to be available.