fedora安装火狐
On a x86-64 64 bit Linux system, sometimes we may want to use the 32 bit Firefox, although the support to 64 bit Firefox is getting much better. Just for needed ones, this post introduces how to install 32 bit Firefox on 64 bit Linux (Fedora as the example).
在x86-64 64位Linux系统上,有时我们可能要使用32位Firefox,尽管对64位Firefox的支持越来越好。 仅针对需要的人,本文介绍如何在64位Linux上安装32位Firefox(以Fedora为例)。
安装32位Firefox (Install 32-bit firefox)
First, install firfox.i686 package.
首先,安装firfox.i686软件包。
# linux32
# yum install firefox.i686
Firefox can simply run now. But we still need to fix some issues.
Firefox可以立即运行。 但是我们仍然需要解决一些问题。
When run firefox, we may get these warnings:
运行firefox时,我们可能会收到以下警告:
(firefox:4860): Gtk-WARNING **: Unable to locate theme engine in module_path: “clearlooks”,
Gtk-Message: Failed to load module “pk-gtk-module”: libpk-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module “canberra-gtk-module”: libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
(firefox:4860):Gtk-警告**:无法在module_path中找到主题引擎:“ clearlooks”,
Gtk消息:无法加载模块“ pk-gtk-module”:libpk-gtk-module.so:无法打开共享对象文件:没有此类文件或目录
Gtk消息:无法加载模块“ canberra-gtk-module”:libcanberra-gtk-module.so:无法打开共享对象文件:没有此类文件或目录
To fix these warnings, install needed packages:
要解决这些警告,请安装所需的软件包:
# yum install libcanberra-gtk2.i686
gtk2-engines.i686
PackageKit-gtk-module.i686
However, there is no input method. To enable ibus-gtk2 input method in 32bit Firefox, install the ibus-gtk2 package
但是,没有输入法。 要在32位Firefox中启用ibus-gtk2输入法,请安装ibus-gtk2软件包
# yum install ibus-gtk2.i686
安装Flash插件 (Install the flash-plugin)
Enable rpmfusion repository: Enable RPM Fusion repositories
启用rpmfusion储存库: 启用RPM Fusion储存库
Install flash plugin
安装Flash插件
# yum install flash-plugin.i386
Set up flash plugin
设置Flash插件
# /usr/lib/flash-plugin/setup
There is no sound in flash. For sound support and curl support, install
闪光灯没有声音。 要获得声音支持和卷曲支持,请安装
# yum install alsa-plugins-pulseaudio.i686 curl.i686
You should have sound. flash-plugin works.
你应该有声音。 闪光插件的作品。
Firefox should complain nothing and work well now. Enjoy it.
Firefox应该什么也不抱怨,并且现在可以正常运行。 好好享受。
Additional gift:
额外礼物:
Force to run firefox in 32-bit mode:
强制以32位模式运行firefox:
#!/bin/bash
setarch i686 firefox -new-tab $*
翻译自: https://www.systutorials.com/installing-and-configuring-32bit-firefox-on-64bit-linux-fedora/
fedora安装火狐