Compdigitec Labs

« | Home | »

Light build of Mozilla Firefox

By admin | June 30, 2011

Most of the time, a stock Firefox installation from Mozilla’s website or the apt repository usually works just fine on most machines. However, if you prefer a more plain and vanilla Firefox install without all the latest bells and whistles, then one can manually compile a build from source code. This has the advantage of being faster and leaner than the stock Firefox because the unwanted features are simply not present, although you will not have all the latest web bells/whistles with this method (e.g. WebM, WebGL, HTML5 video, etc).

Download a copy of the Firefox source, and extract it. Then run ./configure as follows:

–enable-application=browser –enable-official-branding –disable-debug –with-x –disable-profiling –disable-gnomevfs –disable-gconf –disable-accessibility –disable-ogg –disable-webm –enable-splashscreen –disable-angle –enable-crashreporter –disable-smil –disable-installer –disable-updater –disable-update-packaging –disable-parental-controls –disable-tests –enable-faststart –disable-safe-browsing –disable-meegocontentaction –enable-optimize=-O2 –disable-logging –enable-install-strip –disable-necko-wifi –disable-glibtest

A few points to note:

Then run make. If you want to test your build, you can find it under dist/bin of your extracted tarball. Change to that directory and then one can test it like so:

LD_LIBRARY_PATH=. ./firefox-bin -ProfileManager -no-remote

This will allow you to test without clobbering your existing profile. When you are done, you can run make install (beware of conflicts with the repository’s firefox) or if you would rather use checkinstall to make a package, checkinstall –fstrans=no.

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 7 Comments »

7 Responses to “Light build of Mozilla Firefox”

  1. รถรับส่งสนามบินในญี่ปุ่น Says:
    November 10th, 2024 at 00:17

    … [Trackback]

    […] Read More on to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]

  2. incalzire hala Says:
    November 25th, 2024 at 22:12

    … [Trackback]

    […] Find More here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]

  3. ufaprobet Says:
    December 1st, 2024 at 18:45

    … [Trackback]

    […] Find More on on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]

  4. online chat rooms Says:
    December 6th, 2024 at 17:08

    … [Trackback]

    […] Find More Information here to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]

  5. PGSLOT ระบบเกมมาตรฐาน เข้าเล่นบนมือถือ เบทเกมต่ำ Says:
    December 6th, 2024 at 23:39

    … [Trackback]

    […] Read More here to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]

  6. tga168 Says:
    December 11th, 2024 at 21:23

    … [Trackback]

    […] Here you can find 65075 additional Information to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]

  7. ทางเข้าpg Says:
    December 12th, 2024 at 04:47

    … [Trackback]

    […] Find More to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]

Comments