How to install Firefox in slackware

firefox-banner_zpsc37a2a6eI am using Slackware 14 in my machine which is coming with firefox 15 pre-installed. But as newer versions of firefox came out I badly wanted to try them out. I could have used slackpkg or txz packages or slackbuild but I thought I could give a shot to the binaries from Mozilla site.

System : Slackware 14 on a Dell Vostro 1015n laptop.
Software version : Firefox 21

so here goes the steps

Ensure that you have all the required libraries

GTK+ 2.18 or higher
GLib 2.22 or higher
Pango 1.14 or higher
X.Org 1.0 or higher (1.7 or higher is recommended)
libstdc++ 4.3 or higher

Mozilla recommends that a Linux system also have the following libraries or packages installed:

NetworkManager 0.7 or higher
DBus 1.0 or higher
HAL 0.5.8 or higher
GNOME 2.16 or higher

Luckily Slackware 14 is coming with all the necessary libraries so don’t have to worry about that.

Download the correct file :

As 32 bit version will not run in 64 bit os without some libraries and viseversa.

Copy the file to /opt/ :

# cp "firefox.tar.bz2" /opt

Extract the file :

# tar -xjvf /opt/firefox.tar.bz2

Create an entry in /usr/bin :

# ln -fs /opt/firefox/firefox /usr/bin/firefox

To remove/uninstall firefox :

#rm -rf /opt/firefox /usr/bin/firefox


N.B :

If flash player is not working after the installation, that is probably because in the new installation plugin directory is changed. So you can fix it by copying the ‘’ file to the corresponding plugin directory.


8 thoughts on “How to install Firefox in slackware

  1. Flash stopped working after updating Firefox

    • In Firefox 24 and above plugin directory is ‘/firefox/browser/plugins’ and you have to copy ‘’ to that directory.

      So in your case to ‘/opt/firefox/browser/plugins’. Just restart the browser if flash player is not working even after copying ‘’.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s