Red Hat Linux Enterprise 5 中文语言包安装

第一:中文语言包:
 
Red Hat Linux Enterprise 5 是多国语言版
在安装盘上已经有各种语言包 安装就可以了。
中文的是 
 
fonts-chinese-3.02-9.6.el5.noarch.rpm 
 
fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm 
 
进入各文件对应目录,运行下面命令:
 
1  applications-->accessories-->Terminal
2 su  
3
#rpm -ivh fonts-chinese-3.02-9.6.el5.noarch.rpm 
#rpm -ivh fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm 
 
第二:中文输入法: 
 
中文输入法按如下安装: 
 
#rpm -ivh scim-1.4.4-41.el5.i386.rpm 
#rpm -ivh scim-pinyin-0.5.91-16.el5.i386.rpm 
#rpm -ivh scim-tables-0.5.6-7.i386.rpm 
#rpm -ivh scim-tables-additional-0.5.6-7.i386.rpm 
#rpm -ivh scim-tables-chinese-0.5.6-7.i386.rpm 
 
上面的方法安装后 可能不管用,下面的方法经测试可用。
 
yum 在线安装方法:
 
1  yum install fonts-chinese.noarch
2  yum install m17n-db-common-cjk
3  yum install m17n-db-chinese
 
4 yum groupinstall "Chinese Support"
 
安装时 可能会提示失败。
 
下面分享一下解决办法。
 1 

Redhat之所以会出现这个错误是因为没有注册RHN,我们只需要更新一下yum的源就可以了。使用命令 cd /etc/yum.repos.d/   进入yum的配置目录。

 2

在终端中输入 wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo 命令,下载CentOS- Base.repo文件。

 

[root@localhost yum.repos.d]#  wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
--22:01:18--  http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo
Resolving docs.linuxtone.org... 203.74.150.88
Connecting to docs.linuxtone.org|203.74.150.88|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1426 (1.4K) [application/octet-stream]
Saving to: `CentOS-Base.repo'

100%[=======================================>] 1,426       --.-K/s   in 0s    

22:01:18 (80.4 MB/s) - `CentOS-Base.repo' saved [1426/1426]

 

 3

然后将原有的rhel-debuginfo.repo备份一下,使用命令mv CentOS-Base.repo rhel-debuginfo.repo,将CentOS- Base.repo重命名成rhel-debuginfo.repo。

 

[root@localhost yum.repos.d]# mv CentOS-Base.repo rhel-debuginfo.repo
mv: overwrite `rhel-debuginfo.repo'? y
[root@localhost yum.repos.d]# ls
rhel-debuginfo.repo

 4

成功以后,使用yum install build-essential安装成功。

 

[root@localhost yum.repos.d]# yum install build-essential

Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
update                    100% |=========================| 1.9 kB    00:00    
base                      100% |=========================| 1.1 kB    00:00    
addons                    100% |=========================| 1.9 kB    00:00    
extras                    100% |=========================| 2.1 kB    00:00    
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: build-essential
Nothing to do

 

5 安装语言包


[root@localhost yum.repos.d]# yum groupinstall "Chinese Support"
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Setting up repositories
Setting up repositories
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for scim-chinese-standard to pack into transaction set.
scim-chinese-standard-0.0 100% |=========================| 4.2 kB    00:00   

 

 

以上方法 均存在 失败的可能!

你可能感兴趣的:(Red Hat Linux Enterprise 5 中文语言包安装)