centos 下面安装的firefox 出现中文乱码

通过yum安装中文支持语言包组,首先系统要支持中文才行

[root@zhangshibo zhang]# yum groupinstall chinese-support
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirrors.btte.net
 * base: mirror.neu.edu.cn
 * extras: mirrors.btte.net
 * updates: mirror.neu.edu.cn
Setting up Group Process
Checking for new repos for mirrors
Resolving Dependencies
--> Running transaction check
---> Package Cluster_Administration-zh-CN.noarch 0:5.8-1.el5.centos set to be up
dated
---> Package Cluster_Administration-zh-TW.noarch 0:5.8-1.el5.centos set to be up
dated
---> Package Deployment_Guide-zh-CN.noarch 0:5.8-1.el5.centos set to be updated
---> Package Deployment_Guide-zh-TW.noarch 0:5.8-1.el5.centos set to be updated
---> Package Global_File_System-zh-CN.noarch 0:5.8-1.el5.centos set to be update
d
---> Package Global_File_System-zh-TW.noarch 0:5.8-1.el5.centos set to be update
d
---> Package Virtualization-zh-CN.noarch 0:5.8-1.el5.centos set to be updated
---> Package Virtualization-zh-TW.noarch 0:5.8-1.el5.centos set to be updated
---> Package fonts-chinese.noarch 0:3.02-12.el5 set to be updated
---> Package lv.x86_64 0:4.51-8.1 set to be updated
---> Package scim-bridge-gtk.i386 0:0.4.5-11.el5 set to be updated
--> Processing Dependency: scim-bridge = 0.4.5-11.el5 for package: scim-bridge-g
tk
---> Package scim-bridge-gtk.x86_64 0:0.4.5-11.el5 set to be updated
---> Package scim-chewing.x86_64 0:0.3.1-11.el5 set to be updated
--> Processing Dependency: scim for package: scim-chewing
--> Processing Dependency: libscim-1.0.so.8(LIBSCIM_1.0)(64bit) for package: sci
m-chewing
--> Processing Dependency: libscim-1.0.so.8()(64bit) for package: scim-chewing
--> Processing Dependency: libscim-gtkutils-1.0.so.8()(64bit) for package: scim-
chewing
--> Processing Dependency: libchewing.so.3()(64bit) for package: scim-chewing
---> Package scim-chinese-standard.x86_64 0:0.0.2-1.el5 set to be updated
---> Package scim-pinyin.x86_64 0:0.5.91-16.el5 set to be updated
---> Package scim-tables-chinese.x86_64 0:0.5.6-7 set to be updated
--> Processing Dependency: scim-tables = 0.5.6 for package: scim-tables-chinese
---> Package stardict.x86_64 0:2.4.5-5 set to be updated
--> Running transaction check
---> Package libchewing.x86_64 0:0.3.0-8.el5 set to be updated
---> Package scim.x86_64 0:1.4.4-44.el5 set to be updated
---> Package scim-bridge.x86_64 0:0.4.5-11.el5 set to be updated
---> Package scim-libs.x86_64 0:1.4.4-44.el5 set to be updated
---> Package scim-tables.x86_64 0:0.5.6-7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                         Arch      Version                Repository
                                                                           Size
================================================================================
Installing:
 Cluster_Administration-zh-CN    noarch    5.8-1.el5.centos       base    2.4 M
 Cluster_Administration-zh-TW    noarch    5.8-1.el5.centos       base    2.4 M
 Deployment_Guide-zh-CN          noarch    5.8-1.el5.centos       base    8.3 M
 Deployment_Guide-zh-TW          noarch    5.8-1.el5.centos       base    8.3 M
 Global_File_System-zh-CN        noarch    5.8-1.el5.centos       base    415 k
 Global_File_System-zh-TW        noarch    5.8-1.el5.centos       base    416 k
 Virtualization-zh-CN            noarch    5.8-1.el5.centos       base    6.9 M
 Virtualization-zh-TW            noarch    5.8-1.el5.centos       base    6.9 M
 fonts-chinese                   noarch    3.02-12.el5            base     24 M
 lv                              x86_64    4.51-8.1               base    425 k
 scim-bridge-gtk                 i386      0.4.5-11.el5           base     37 k
 scim-bridge-gtk                 x86_64    0.4.5-11.el5           base     38 k
 scim-chewing                    x86_64    0.3.1-11.el5           base     63 k
 scim-chinese-standard           x86_64    0.0.2-1.el5            base     90 k
 scim-pinyin                     x86_64    0.5.91-16.el5          base    2.3 M
 scim-tables-chinese             x86_64    0.5.6-7                base    6.2 M
 stardict                        x86_64    2.4.5-5                base    835 k
Installing for dependencies:
 libchewing                      x86_64    0.3.0-8.el5            base    2.8 M
 scim                            x86_64    1.4.4-44.el5           base    524 k
 scim-bridge                     x86_64    0.4.5-11.el5           base    111 k
 scim-libs                       x86_64    1.4.4-44.el5           base    466 k
 scim-tables                     x86_64    0.5.6-7                base    333 k

Transaction Summary
================================================================================
Install      22 Package(s)
Upgrade       0 Package(s)

Total download size: 74 M
Is this ok [y/N]: y
Downloading Packages:
(1/22): scim-bridge-gtk-0.4.5-11.el5.i386.rpm            |  37 kB     00:00
(2/22): scim-bridge-gtk-0.4.5-11.el5.x86_64.rpm          |  38 kB     00:00
(3/22): scim-chewing-0.3.1-11.el5.x86_64.rpm             |  63 kB     00:00
(4/22): scim-chinese-standard-0.0.2-1.el5.x86_64.rpm     |  90 kB     00:00
(5/22): scim-bridge-0.4.5-11.el5.x86_64.rpm              | 111 kB     00:00
(6/22): scim-tables-0.5.6-7.x86_64.rpm                   | 333 kB     00:00
(7/22): Global_File_System-zh-CN-5.8-1.el5.centos.noarch | 415 kB     00:00
(8/22): Global_File_System-zh-TW-5.8-1.el5.centos.noarch | 416 kB     00:00
(9/22): lv-4.51-8.1.x86_64.rpm                           | 425 kB     00:00
(10/22): scim-libs-1.4.4-44.el5.x86_64.rpm               | 466 kB     00:00
(11/22): scim-1.4.4-44.el5.x86_64.rpm                    | 524 kB     00:00
(12/22): stardict-2.4.5-5.x86_64.rpm                     | 835 kB     00:00
(13/22): scim-pinyin-0.5.91-16.el5.x86_64.rpm            | 2.3 MB     00:00
(14/22): Cluster_Administration-zh-CN-5.8-1.el5.centos.n | 2.4 MB     00:00
(15/22): Cluster_Administration-zh-TW-5.8-1.el5.centos.n | 2.4 MB     00:00
(16/22): libchewing-0.3.0-8.el5.x86_64.rpm               | 2.8 MB     00:00
(17/22): scim-tables-chinese-0.5.6-7.x86_64.rpm          | 6.2 MB     00:00
(18/22): Virtualization-zh-CN-5.8-1.el5.centos.noarch.rp | 6.9 MB     00:00
(19/22): Virtualization-zh-TW-5.8-1.el5.centos.noarch.rp | 6.9 MB     00:00
(20/22): Deployment_Guide-zh-CN-5.8-1.el5.centos.noarch. | 8.3 MB     00:00
(21/22): Deployment_Guide-zh-TW-5.8-1.el5.centos.noarch. | 8.3 MB     00:00
(22/22): fonts-chinese-3.02-12.el5.noarch.rpm            |  24 MB     00:01
--------------------------------------------------------------------------------
Total                                            13 MB/s |  74 MB     00:05
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : scim-libs                                               1/22
  Installing     : scim                                                    2/22
  Installing     : scim-bridge                                             3/22
  Installing     : scim-tables                                             4/22
  Installing     : libchewing                                              5/22
  Installing     : scim-bridge-gtk                                         6/22
  Installing     : Virtualization-zh-TW                                    7/22
  Installing     : stardict                                                8/22
  Installing     : Global_File_System-zh-TW                                9/22
  Installing     : fonts-chinese                                          10/22
  Installing     : Deployment_Guide-zh-TW                                 11/22
  Installing     : Cluster_Administration-zh-TW                           12/22
  Installing     : scim-chinese-standard                                  13/22
  Installing     : Deployment_Guide-zh-CN                                 14/22
  Installing     : scim-chewing                                           15/22
  Installing     : scim-pinyin                                            16/22
  Installing     : scim-tables-chinese                                    17/22
  Installing     : Cluster_Administration-zh-CN                           18/22
  Installing     : scim-bridge-gtk                                        19/22
  Installing     : Virtualization-zh-CN                                   20/22
  Installing     : lv                                                     21/22
  Installing     : Global_File_System-zh-CN                               22/22

Installed:
  Cluster_Administration-zh-CN.noarch 0:5.8-1.el5.centos
  Cluster_Administration-zh-TW.noarch 0:5.8-1.el5.centos
  Deployment_Guide-zh-CN.noarch 0:5.8-1.el5.centos
  Deployment_Guide-zh-TW.noarch 0:5.8-1.el5.centos
  Global_File_System-zh-CN.noarch 0:5.8-1.el5.centos
  Global_File_System-zh-TW.noarch 0:5.8-1.el5.centos
  Virtualization-zh-CN.noarch 0:5.8-1.el5.centos
  Virtualization-zh-TW.noarch 0:5.8-1.el5.centos
  fonts-chinese.noarch 0:3.02-12.el5
  lv.x86_64 0:4.51-8.1
  scim-bridge-gtk.i386 0:0.4.5-11.el5
  scim-bridge-gtk.x86_64 0:0.4.5-11.el5
  scim-chewing.x86_64 0:0.3.1-11.el5
  scim-chinese-standard.x86_64 0:0.0.2-1.el5
  scim-pinyin.x86_64 0:0.5.91-16.el5
  scim-tables-chinese.x86_64 0:0.5.6-7
  stardict.x86_64 0:2.4.5-5

Dependency Installed:
  libchewing.x86_64 0:0.3.0-8.el5         scim.x86_64 0:1.4.4-44.el5
  scim-bridge.x86_64 0:0.4.5-11.el5       scim-libs.x86_64 0:1.4.4-44.el5
  scim-tables.x86_64 0:0.5.6-7

Complete!
[root@zhangshibo  zhang]#

安装中文语言包后,firefox浏览网页乱码问题即可解决。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值