Downloading Source Archives

  • Revision slug: Developer_Guide/Source_Code/Downloading_Source_Archives
  • Revision title: Downloading Source Archives
  • Revision id: 46404
  • Created:
  • Creator: Callek
  • Is current revision? No
  • Comment /* Releases */ lets point to mozilla.org, let mirror network sort it out

Revision Content

{{wiki.template(':en/Build_Documentation/TOC')}}

The Mozilla source code can be obtained either by downloading a source archive, or by using a CVS (source control) client. If you are just starting out, or you wish to build a particular Mozilla product release, downloading a source archive is recommended. Otherwise, visit here to get Mozilla Source Code Via CVS.

  • This code is covered by the Netscape Public License and Mozilla Public License. Please read the terms of these licenses before altering or copying the source code.
  • This source code is subject to the U.S. Export Administration Regulations and other U.S. law, and may not be exported or re-exported to certain countries (currently Afghanistan (Taliban controlled areas), Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria) or to persons or entities prohibited from receiving U.S. exports (including Denied Parties, entities on the Bureau of Export Administration Entity List, and Specially Designated Nationals).
  • Before attempting a build, please review the system requirements and build instructions.

Releases

The source code for a release can be found on the FTP server directory for that release. For example, the Firefox 1.5 source code can be found in the "source" subdirectory on the FTP server.

Source tarballs are packaged as bzipped tarballs. To unpack a tarball from a unix-like shell (or the cygwin shell), type:

tar -xjf <source-file.tar.bz2>

Using WinRAR to unpack source archives will not work. The archive contains zero-length files which are not unpacked properly.

Currently we don't have nightly source tarballs: You can download a trunk nightly source tarball from http://ftp.mozilla.org/pub/mozilla.org where? This tarball will have the CVS files prepopulated so that the tarball can be updated from anonymous CVS.


interwiki link

{{ wiki.languages( { "fr": "fr/T\u00e9l\u00e9chargement_du_code_source_de_Mozilla", "ja": "ja/Download_Mozilla_Source_Code" } ) }}

Revision Source

<p>
{{wiki.template(':en/Build_Documentation/TOC')}}
</p><p>The Mozilla source code can be obtained either by downloading a source archive, or by using a CVS (source control) client. If you are just starting out, or you wish to build a particular Mozilla product release, downloading a source archive is recommended. Otherwise, visit here to get <a href="en/Mozilla_Source_Code_Via_CVS">Mozilla Source Code Via CVS</a>.
</p>
<ul><li> This code is covered by the <a class="external" href="http://www.mozilla.org/MPL/">Netscape Public License and Mozilla Public License</a>. Please read the terms of these licenses before altering or copying the source code.
</li><li> This source code is subject to the U.S. Export Administration Regulations and other U.S. law, and may not be exported or re-exported to certain countries (currently Afghanistan (Taliban controlled areas), Cuba, Iran, Iraq, Libya, North Korea, Sudan and Syria) or to persons or entities prohibited from receiving U.S. exports (including Denied Parties, entities on the Bureau of Export Administration Entity List, and Specially Designated Nationals).
</li><li> Before attempting a build, please review the <a href="en/Build_Documentation">system requirements and build instructions</a>.
</li></ul>
<h3 name="Releases"> Releases </h3>
<p>The source code for a release can be found on the FTP server directory for that release. For example, the Firefox 1.5 source code can be found in the "source" subdirectory on the <a class="external" href="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5/">FTP server</a>.
</p><p>Source tarballs are packaged as bzipped tarballs. To unpack a tarball from a unix-like shell (or the cygwin shell), type:
</p>
<pre class="eval">tar -xjf &lt;source-file.tar.bz2&gt;
</pre>
<p><b>Using WinRAR to unpack source archives will not work.</b> The archive contains zero-length files which are not unpacked properly.
</p><p><span class="comment">Currently we don't have nightly source tarballs:  You can download a trunk nightly source tarball from http://ftp.mozilla.org/pub/mozilla.org where?  This tarball will have the CVS files prepopulated so that the tarball can be updated from anonymous CVS.</span>
</p><p><br>
<span class="comment">interwiki link</span>
</p>{{ wiki.languages( { "fr": "fr/T\u00e9l\u00e9chargement_du_code_source_de_Mozilla", "ja": "ja/Download_Mozilla_Source_Code" } ) }}
Revert to this revision