download.html 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <meta name="generator" content=
  5. "HTML Tidy for Windows (vers 1st August 2002), see www.w3.org">
  6. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  7. <title>Boost Download and Installation</title>
  8. </head>
  9. <body bgcolor="#FFFFFF" text="#000000">
  10. <table border="1" bgcolor="#007F7F" cellpadding="2">
  11. <tr>
  12. <td bgcolor="#FFFFFF"><img src="../c++boost.gif" alt=
  13. "c++boost.gif (8819 bytes)" width="277" height="86"></td>
  14. <td><a href="../index.htm"><font face="Arial,Helvetica" color=
  15. "#FFFFFF"><big>Home</big></font></a></td>
  16. <td><a href="../libs/libraries.htm"><font face="Arial,Helvetica"
  17. color="#FFFFFF"><big>Libraries</big></font></a></td>
  18. <td><a href="../people/people.htm"><font face="Arial,Helvetica"
  19. color="#FFFFFF"><big>People</big></font></a></td>
  20. <td><a href="faq.htm"><font face="Arial,Helvetica" color=
  21. "#FFFFFF"><big>FAQ</big></font></a></td>
  22. <td><a href="index.htm"><font face="Arial,Helvetica" color=
  23. "#FFFFFF"><big>More</big></font></a></td>
  24. </tr>
  25. </table>
  26. <h1>Boost Download and Installation</h1>
  27. The boost libraries are intended for easy download and <a href=
  28. "#Installation">installation</a>; many libraries require nothing more
  29. that downloading and unpacking to be ready for use, including full
  30. documentation.&nbsp; When required, see <a href=
  31. "../tools/build/index.html">Building Boost Libraries</a> to create object
  32. libraries.
  33. <h2>Download</h2>
  34. The boost libraries are available in various formats:
  35. <ul>
  36. <li><a href="http://boost.sourceforge.net/release/">HTTP download</a>
  37. all of Boost as a single archive file (<a href="#.zip">.zip</a> or <a
  38. href="#.tar.gz">.tar.gz</a>) file from our SourceForge HTTP site. Older
  39. versions also available. (This option is suggested first since it
  40. doesn't count against our web site host's monthly fee.)</li>
  41. </ul>
  42. <ul>
  43. <li><a href="../boost_all.zip">ZIP download</a> all of Boost as a
  44. single archive file from our web site.</li>
  45. </ul>
  46. <ul>
  47. <li><a href="../boost_all.tar.gz">TAR.GZ download</a> all of Boost as a
  48. single archive file from our web site.</li>
  49. </ul>
  50. <ul>
  51. <li><a href="#CVS">Command line, GUI</a>, or <a href=
  52. "#Browser">browser</a> access to Boost's <a href=
  53. "http://sourceforge.net/cvs/?group_id=7586">CVS repository</a>.</li>
  54. </ul>
  55. <ul>
  56. <li>Download individual files from links in the documentation on the
  57. web site.&nbsp; Because of the number of files involved, and <a href=
  58. "../libs/hdr_depend.html">header dependencies</a>, this option usually
  59. isn't very useful.</li>
  60. </ul>
  61. <h3><a name=".zip">.zip</a> file</h3>
  62. The .zip format is widely supported by both free decoders and commercial
  63. compress/archive utilities. If you don't already have a .zip file
  64. decoder, download one from the <a href=
  65. "http://www.info-zip.org/">Info-ZIP</a> web site, which supplies versions
  66. for many operating systems.
  67. <p>Text file line endings in the .zip file are as supplied by each
  68. library developer.&nbsp; This works fine for Windows, but not for
  69. Unix/Linux.&nbsp; The .tar.gz file supplies Unix/Linux friendly line
  70. endings.</p>
  71. <h3><a name=".tar.gz">.tar.gz</a> file</h3>
  72. The .tar.gz format is widely supported on Unix/Linux platforms. Some
  73. Windows compress/archive utilities can read the format as well.&nbsp;
  74. Because the gzip format compresses the archive as a single file rather
  75. than compressing each file individually, the .tar.gz file is smaller that
  76. the .zip file.
  77. <p>Text file line endings in the .tar.gz file have been converted to
  78. newlines for ease of use on Unix/Linux platforms.</p>
  79. <h2>Boost <a name="CVS">CVS</a> Repository</h2>
  80. <p>All Boost files, including the entire distribution tree including web
  81. site HTML is maintained in a CVS repository.</p>
  82. <h3>Boost CVS access via command line or graphical clients</h3>
  83. For those who have CVS clients installed, the libraries are also
  84. available from the public <a href=
  85. "http://sourceforge.net/cvs/?group_id=7586">Boost CVS repository</a>.
  86. Free command line clients (often already installed on Linux/Unix systems)
  87. are available at the <a href="http://www.cvshome.org/">CVS home page</a>,
  88. and free GUI clients are also available for Windows, Mac, and other
  89. systems from <a href="http://www.cvsgui.org/">CvsGui.org</a>.
  90. <p>The general procedure for command-line clients is something like
  91. this:</p>
  92. <blockquote>
  93. <code>cvs -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost
  94. login</code><br>
  95. [Hit &lt;return&gt; when it asks for a password]<br>
  96. <code>cvs -z3
  97. -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost checkout
  98. boost<br>
  99. cvs -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost
  100. logout</code>
  101. </blockquote>
  102. Read the manual for your CVS client for further information.
  103. <p>This access is read-only; if you are a library author and wish to have
  104. CVS write access, please contact one of the <a href=
  105. "mailto:boost-owner@yahoogroups.com">moderators</a>.</p>
  106. <h3>Boost CVS access via web <a name="Browser">Browser</a></h3>
  107. For access to the CVS archive from any modern web browser, you can also
  108. use the <a href=
  109. "http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/boost/boost/">web
  110. browser&nbsp; interface</a>.&nbsp; Try one of the color diffs to see how
  111. a file has changed over time.
  112. <h2><a name="Installation">Installation</a></h2>
  113. Boost does not yet have a standardized installation process. There has
  114. been some interest in developing one; as of this writing <a href=
  115. "../people/william_kempf.htm">Bill Kempf</a> has volunteered to
  116. coordinate and is gathering volunteers. If you have expertise in this
  117. area (particularly cross-platform expertise), and you would like to
  118. contribute, please announce your availability on the <a href=
  119. "http://lists.boost.org/mailman/listinfo.cgi/boost-install">Boost
  120. Install</a> mailing list.
  121. <p>That said, preparing to use Boost in a development project is
  122. relatively straightforward. Most boost libraries are implemented entirely
  123. within their header files. The only preparation for their use is to add
  124. the boost root directory to your compiler's list of
  125. <code>#include&lt;...&gt;</code> search paths. For example, using Windows
  126. 2000, if you have unzipped release 1.28.0 from boost_all.zip into the top
  127. level directory of your C drive, adding '-Ic:/boost_1_28_0' to the
  128. command line of most compilers is sufficient.</p>
  129. <p>The <a href="../libs/python/doc/index.html">Python</a>, <a href=
  130. "../libs/regex/index.htm">Regex</a>, and <a href=
  131. "../libs/thread/doc/index.html">Threads</a> libraries are implemented in
  132. part as separate source files, and thus require compilation before use.
  133. See <a href="../tools/build/index.html">Building Boost Libraries</a> for
  134. an automatic tool to prepare such libraries. Some of the individual
  135. libraries also include make and/or project files for various compilers,
  136. but <em>every</em> library with a built component includes the neccessary
  137. <code>Jamfile</code> for building with <a href=
  138. "../tools/build/index.html">Boost.Build</a>, our standard build tool.</p>
  139. <hr>
  140. Revised
  141. <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->18
  142. November, 2002<!--webbot bot="Timestamp" endspan i-checksum="34416" -->
  143. <p>Written by&nbsp; <a href="../people/jens_maurer.htm">Jens Maurer</a>
  144. 2001-02-11</p>
  145. </body>
  146. </html>
粤ICP备19079148号