Introduction to Firefox

Firefox is a stand-alone browser based on the Mozilla codebase.

Package Information

Firefox Dependencies


GTK+-2.6.7, libIDL-0.8.5 and Zip-2.31


libjpeg-6b, UnZip-5.52, GNOME Virtual File System-2.10.1 and libgnome-2.10.0 (to build the gnomevfs extension), MIT krb5-1.4.1 or Heimdal-0.7 (for the GSSAPI libraries to build the negotiateauth extension), Doxygen-1.4.3, Xprint, Electric Fence and Cairo

Installation of Firefox

The configuration of Firefox is very similar to Mozilla-1.7.8 and hence the options are not discussed. Refer to the Mozilla-1.7.8 instructions for explanations and additional configuration information.

Compile and install Firefox by running the following commands:

export MOZILLA_OFFICIAL="1" &&
export BUILD_OFFICIAL="1" &&
export MOZ_PHOENIX="1" &&
./configure --prefix=/usr \
            --with-default-mozilla-five-home=/usr/lib/firefox-1.0 \
            --with-user-appdir=.firefox \
            --with-system-zlib \
            --with-system-png \
            --enable-application=browser \
            --enable-default-toolkit=gtk2 \
gnomevfs,negotiateauth \
            --enable-crypto \
            --enable-xft \
            --enable-xinerama \
            --enable-optimize \
            --enable-reorder \
            --enable-strip \
            --enable-cpp-rtti \
            --enable-single-profile \
            --disable-freetype2 \
            --disable-accessibility \
            --disable-debug \
            --disable-tests \
            --disable-logging \
            --disable-pedantic \
            --disable-installer \
            --disable-mailnews \
            --disable-ldap \
            --disable-composer \
            --disable-profilesharing &&

You should add the --with-system-jpeg switch to the configure script if you have libjpeg installed.

This package does not come with a test suite.

Now, as the root user:

make install &&
install -d /usr/include/firefox-1.0.6/nss &&
cp -Lf dist/private/nss/*.h dist/public/nss/*.h \

To enable multi-user operation, execute the following as the root user:

cd /usr/lib/firefox-1.0.6 &&
export LD_LIBRARY_PATH="$PWD" &&
./regxpcom &&
./regchrome &&
touch `find . -name *.rdf`


You should run /usr/bin/firefox once as the root user (or any user with write privileges) to create some necessary additional files in the /usr hierarchy.

Lastly, unset the build variables from the unprivileged user's environment:


Configuring Firefox

No specific configuration is required as long as the firefox script is in the user's path. If Firefox is installed in a non-standard location, then make a symlink to the firefox script from /usr/bin.

Many applications look for netscape when they need to open a browser. You may make the following symlink for convenience (as the root user).

ln -v -sf firefox /usr/bin/netscape

For installing various Firefox plugins, refer to Mozdev's PluginDoc Project. If you have JDK-1.5.0 already installed, create the following link as the root user to utilize the JAVA plugin:

ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/ \


Installed Programs: firefox and firefox-config
Installed Libraries: Numerous libraries, browser components, plugins, extensions, and helper modules installed in /usr/lib/firefox-1.0.6
Installed Directories: /usr/bin/defaults, /usr/include/firefox-1.0.6, /usr/lib/firefox-1.0.6, and /usr/share/idl/firefox-1.0.6

Short Descriptions


is the next-generation browser from Mozilla.


determines the compile and linker flags that should be used to compile and link programs that use Firefox libraries and browser components.

Last updated on 2005-08-01 13:29:19 -0600