- You can either use the installation script
- You can install yourself
You will need the following files
(right click and save)
1. firefox = firefox 3+
2. pkg-config = pkgconfig-0.18.tar.gz
3. pixman = pixman-0.12.0.tar.gz
4. cairo = cairo-1.8.6.tar.gz
5. glib = glib-2.18.4.tar.gz
6. pango = pango-1.20.5.tar.gz
7. atk = atk-1.25.2.tar.gz
8. gtk = gtk+-2.14.7.tar.gz
I want to use the installation script
Redhat users click here
Mandriva users click here
(Make sure that you put all the downloaded files in the same folder)
1. Login as root.
2. Run the script file
> sh script_file_name.sh
I want to install it myself
(Please follow the order or you will have to start all over again)
1. Login as root
2. Creating the common dependency directory
> mkdir /opt/gtk
3. Setting up the environment variables
> export PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig/:/usr/lib/pkgconfig /:$PKG_CONFIG_PATH
> export LD_LIBRARY_PATH=/opt/gtk/lib/:/usr/local/lib/:$LD_LIBRARY_PATH
> export PATH=/opt/gtk/bin/:$PATH
4. Extracting the firefox archive
> tar -xvjf firefox-3.0.8.tar.bz2
5. Pkg-config installation
> tar -xvzf pkgconfig-0.18.tar.gz
> cd pkgconfig-0.18
> ./configure --prefix=/opt/gtk
> make
> make install
> cd ..
6. Pixman installation
> tar -xvzf pixman-0.12.0.tar.gz
> cd pixman-0.12.0
> ./configure --prefix=/opt/gtk
> make
> make install
> cd ..
7. Cairo installation
> tar -xvzf cairo-1.8.6.tar.gz
> cd cairo-1.8.6
> ./configure --prefix=/opt/gtk
> make
> make install
> cd ..
8. Glib installation
> tar -xvzf glib-2.18.4.tar.gz
> cd glib-2.18.4
> ./configure --prefix=/opt/gtk
> make
> make install
> cd ..
9. Pango installation
> tar -xvzf pango-1.20.5.tar.gz
> cd pango-1.20.5
> ./configure --prefix=/opt/gtk
> make
> make install
> cd ..
10. Atk installation
> tar -xvzf atk-1.25.2.tar.gz
> cd atk-1.25.2
> ./configure --prefix=/opt/gtk
> make
> make install
> cd ..
11. Gtk installation
Redhat users
> tar -xvzf gtk+-2.14.5.tar.gz
> cd gtk+-2.14.5
> ./configure --prefix=/opt/gtk/ --without-libjasper
> make
> make install
> cd ..
Mandriva users
> tar -xvzf gtk+-2.14.5.tar.gz
> cd gtk+-2.14.5
> ./configure --prefix=/opt/gtk/ --without-libjasper --without-libtiff
> make
> make install
> cd ..
Common steps
1. Editing the .bashrc file
> vi /root/.bashrc
Add the following entries in the file
export PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig/:/usr/lib/pkgconfig /:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=/opt/gtk/lib/:/usr/local/lib/:$LD_LIBRARY_PATH
export PATH=/opt/gtk/bin/:$PATH
2. Run firefox
> cd firefox
> ./firefox