« Launch non-exe extension files as executables | Home | Creating jQuery UI Tabs »
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:
- Remove –enable-official-branding if you ever plan to distribute your build online (in .deb or something like that) – Mozilla is extremely picky about distributing official artwork in modified builds.
- Add a –prefix=/usr if you don’t want to install to /usr/local (replace /usr with whatever path you want)
- You will want to add –disable-libjpeg-turbo if you don’t have a handy version of yasm (or are lazy)
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 | 25 Comments »
February 10th, 2022 at 22:50
… [Trackback]
[…] Read More to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
February 14th, 2022 at 10:56
… [Trackback]
[…] Find More on on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
February 25th, 2022 at 07:55
… [Trackback]
[…] Find More to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
April 30th, 2022 at 19:06
… [Trackback]
[…] Find More here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
May 4th, 2022 at 18:40
… [Trackback]
[…] Information on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
June 10th, 2022 at 03:06
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
July 11th, 2022 at 10:24
pg slot pg wallet ทรูมันนี่ วอลเล็ทเป็นแอปพลิเคชัน ที่ให้บริการที่หลากหลาย ครอบคลุมทุกการใช้แรงงาน สล็อต สามารถใช้จ่ายแทนเงินสดได้ตามร้านค้าชั้นแนวหน้าทั่วๆไป และสนุกสนานกับเกมสล็อตออนไลน์
July 15th, 2022 at 04:08
… [Trackback]
[…] Here you will find 30069 more Information on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
July 18th, 2022 at 18:56
… [Trackback]
[…] Find More to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
August 15th, 2022 at 23:03
… [Trackback]
[…] Read More on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
September 13th, 2022 at 08:26
… [Trackback]
[…] Here you can find 14087 additional Information on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
October 3rd, 2022 at 02:28
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
October 3rd, 2022 at 19:28
… [Trackback]
[…] Read More here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
October 16th, 2022 at 01:16
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
October 16th, 2022 at 18:12
… [Trackback]
[…] Here you can find 96348 additional Information on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
December 16th, 2022 at 11:14
… [Trackback]
[…] Find More here to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
December 27th, 2022 at 00:54
… [Trackback]
[…] Read More Info here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
January 3rd, 2023 at 07:28
… [Trackback]
[…] Find More Information here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
January 19th, 2023 at 17:20
… [Trackback]
[…] Find More here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
February 23rd, 2023 at 13:24
… [Trackback]
[…] Read More Info here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
February 25th, 2023 at 19:27
… [Trackback]
[…] Read More Information here to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
February 28th, 2023 at 07:45
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
March 4th, 2023 at 18:25
… [Trackback]
[…] Find More Information here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
March 16th, 2023 at 08:16
… [Trackback]
[…] Read More Info here on that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]
March 18th, 2023 at 05:48
… [Trackback]
[…] There you will find 65628 more Information to that Topic: compdigitec.com/labs/2011/06/30/light-build-of-mozilla-firefox/ […]