| 1 | [[PageOutline(1-4,Table of Contents)]] |
| 2 | |
| 3 | = Smartmontools Download Page = |
| 4 | Smartmontools 5.38 (stable) was released 2008/03/10, see [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/RELEASE_5_38/sm5/NEWS?view=markup NEWS] and [http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/RELEASE_5_38/sm5/CHANGELOG?view=markup CHANGELOG] for details. |
| 5 | |
| 6 | ---- |
| 7 | |
| 8 | After installation or booting from a [#live-cd Live-CD], you can read smartmontools man pages and try out the commands: |
| 9 | |
| 10 | {{{ |
| 11 | man smartd.conf |
| 12 | man smartctl |
| 13 | man smartd |
| 14 | |
| 15 | # Only root can do this |
| 16 | /usr/sbin/smartctl -s on -o on -S on /dev/hda |
| 17 | /usr/sbin/smartctl -a /dev/hda |
| 18 | }}} |
| 19 | |
| 20 | Note that the default location for the manual pages are |
| 21 | {{{/usr/share/man/man5}}} and {{{/usr/share/man/man8}}}. |
| 22 | If '{{{man}}}' doesn't find them, then you may need to add |
| 23 | {{{/usr/share/man}}} to your {{{MANPATH}}} environment variable. |
| 24 | |
| 25 | The [#WindowsInstall Windows package] provides |
| 26 | preformatted man pages in {{{*.html}}} and {{{*.txt}}} format. |
| 27 | |
| 28 | ---- |
| 29 | |
| 30 | == First Method - Install precompiled package == |
| 31 | Starting with smartmontools release 5.37, RPM files |
| 32 | are no longer available at the smartmontools project download page. |
| 33 | Refer to the package download location of your distribution. |
| 34 | |
| 35 | {{{ |
| 36 | #!html |
| 37 | <ul style="list-style: none;"> |
| 38 | <li> |
| 39 | <table border="1"> |
| 40 | <tr> |
| 41 | <th>Distribution</th> |
| 42 | |
| 43 | <th>Package</th> |
| 44 | <th>Version</th> |
| 45 | <th>Repository</th> |
| 46 | <th>Download-URL</th> |
| 47 | </tr> |
| 48 | <tr> |
| 49 | <td>Debian</td> |
| 50 | |
| 51 | <td>smartmontools</td> |
| 52 | <td>5.38-2+lenny1</td> |
| 53 | <td>stable</td> |
| 54 | <td><a href="http://packages.debian.org/lenny/smartmontools" title="http://packages.debian.org/lenny/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 55 | </tr> |
| 56 | <tr> |
| 57 | <td>Debian</td> |
| 58 | |
| 59 | <td>smartmontools</td> |
| 60 | <td>5.38-3</td> |
| 61 | <td>testing</td> |
| 62 | <td><a href="http://packages.debian.org/squeeze/smartmontools" title="http://packages.debian.org/squeeze/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 63 | </tr> |
| 64 | <tr> |
| 65 | <td>Fink</td> |
| 66 | <td>gsmartcontrol</td> |
| 67 | |
| 68 | <td>0.8.4-1002</td> |
| 69 | <td></td> |
| 70 | <td><a href="http://pdb.finkproject.org/pdb/package.php/gsmartcontrol" title="http://pdb.finkproject.org/pdb/package.php/gsmartcontrol"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 71 | </tr> |
| 72 | <tr> |
| 73 | <td>Fink</td> |
| 74 | <td>smartmontools</td> |
| 75 | |
| 76 | <td>5.38-1</td> |
| 77 | <td></td> |
| 78 | <td><a href="http://pdb.finkproject.org/pdb/package.php/smartmontools" title="http://pdb.finkproject.org/pdb/package.php/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 79 | </tr> |
| 80 | <tr> |
| 81 | <td>Fink</td> |
| 82 | <td>smartmontools-daemon</td> |
| 83 | |
| 84 | <td>5.38-1</td> |
| 85 | <td></td> |
| 86 | <td><a href="http://pdb.finkproject.org/pdb/package.php/smartmontools-daemon" title="http://pdb.finkproject.org/pdb/package.php/smartmontools-daemon"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 87 | </tr> |
| 88 | <tr> |
| 89 | <td>FreeBSD</td> |
| 90 | <td>gsmartcontrol</td> |
| 91 | |
| 92 | <td>0.8.4</td> |
| 93 | <td>sysutils</td> |
| 94 | <td><a href="http://www.freebsd.org/cgi/pds.cgi?ports/sysutils/gsmartcontrol" title="http://www.freebsd.org/cgi/pds.cgi?ports/sysutils/gsmartcontrol"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 95 | </tr> |
| 96 | <tr> |
| 97 | <td>FreeBSD</td> |
| 98 | <td>smartmontools</td> |
| 99 | |
| 100 | <td>5.38_6</td> |
| 101 | <td>sysutils</td> |
| 102 | <td><a href="http://www.freebsd.org/cgi/pds.cgi?ports/sysutils/smartmontools" title="http://www.freebsd.org/cgi/pds.cgi?ports/sysutils/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 103 | </tr> |
| 104 | <tr> |
| 105 | <td>Gentoo</td> |
| 106 | <td>smartmontools</td> |
| 107 | |
| 108 | <td>5.36-r1</td> |
| 109 | <td></td> |
| 110 | <td><a href="http://gentoo-portage.com/sys-apps/smartmontools" title="http://gentoo-portage.com/sys-apps/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 111 | </tr> |
| 112 | <tr> |
| 113 | <td>Gentoo</td> |
| 114 | <td>smartmontools</td> |
| 115 | |
| 116 | <td>5.37</td> |
| 117 | <td></td> |
| 118 | <td><a href="http://gentoo-portage.com/sys-apps/smartmontools" title="http://gentoo-portage.com/sys-apps/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 119 | </tr> |
| 120 | <tr> |
| 121 | <td>Gentoo</td> |
| 122 | <td>smartmontools</td> |
| 123 | |
| 124 | <td>5.37-r1</td> |
| 125 | <td></td> |
| 126 | <td><a href="http://gentoo-portage.com/sys-apps/smartmontools" title="http://gentoo-portage.com/sys-apps/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 127 | </tr> |
| 128 | <tr> |
| 129 | <td>Gentoo</td> |
| 130 | <td>smartmontools</td> |
| 131 | |
| 132 | <td>5.38</td> |
| 133 | <td></td> |
| 134 | <td><a href="http://gentoo-portage.com/sys-apps/smartmontools" title="http://gentoo-portage.com/sys-apps/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 135 | </tr> |
| 136 | <tr> |
| 137 | <td>MacPorts</td> |
| 138 | <td>smartmontools</td> |
| 139 | |
| 140 | <td>5.38</td> |
| 141 | <td></td> |
| 142 | <td><a href="http://trac.macports.org/browser/trunk/dports/sysutils/smartmontools/Portfile" title="http://trac.macports.org/browser/trunk/dports/sysutils/smartmontools/Portfile"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 143 | </tr> |
| 144 | <tr> |
| 145 | <td>Mandriva</td> |
| 146 | <td>smartmontools</td> |
| 147 | |
| 148 | <td>5.38-3</td> |
| 149 | <td></td> |
| 150 | <td><a href="http://sophie.zarb.org/viewrpm/1dac6f151f8b850d345d2c0e410047f9" title="http://sophie.zarb.org/viewrpm/1dac6f151f8b850d345d2c0e410047f9"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 151 | </tr> |
| 152 | <tr> |
| 153 | <td>Mandriva</td> |
| 154 | <td>smartmontools-debug</td> |
| 155 | |
| 156 | <td>5.38-3</td> |
| 157 | <td></td> |
| 158 | <td><a href="http://sophie.zarb.org/viewrpm/93c18bf083d821fdaa291de54710cfec" title="http://sophie.zarb.org/viewrpm/93c18bf083d821fdaa291de54710cfec"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 159 | </tr> |
| 160 | <tr> |
| 161 | <td>NetBSD</td> |
| 162 | <td>smartmontools</td> |
| 163 | |
| 164 | <td>5.38</td> |
| 165 | <td>sysutils</td> |
| 166 | <td><a href="http://pkgsrc.se/sysutils/smartmontools" title="http://pkgsrc.se/sysutils/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 167 | </tr> |
| 168 | <tr> |
| 169 | <td>OpenBSD</td> |
| 170 | <td>smartmontools</td> |
| 171 | |
| 172 | <td>5.38</td> |
| 173 | <td></td> |
| 174 | <td><a href="http://www.openbsd.org/4.4_packages/i386/smartmontools-5.38.tgz-long.html" title="http://www.openbsd.org/4.4_packages/i386/smartmontools-5.38.tgz-long.html"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 175 | </tr> |
| 176 | <tr> |
| 177 | <td>openSUSE</td> |
| 178 | <td>smartmontools</td> |
| 179 | |
| 180 | <td>5.38.0.20090603</td> |
| 181 | <td>sbrabec</td> |
| 182 | <td><a href="http://packages.opensuse-community.org/packageinfo.jsp?checksum=87f73005dc3d3fcb1aaab4e4ac1faa9e327c44c3&distro=openSUSE_111" title="http://packages.opensuse-community.org/packageinfo.jsp?checksum=87f73005dc3d3fcb1aaab4e4ac1faa9e327c44c3&distro=openSUSE_111"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 183 | </tr> |
| 184 | <tr> |
| 185 | <td>openSUSE</td> |
| 186 | <td>smartmontools</td> |
| 187 | |
| 188 | <td>5.38.0.20081027</td> |
| 189 | <td>suse/oss</td> |
| 190 | <td><a href="http://packages.opensuse-community.org/index.jsp?searchTerm=smartmontools" title="http://packages.opensuse-community.org/index.jsp?searchTerm=smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 191 | </tr> |
| 192 | <tr> |
| 193 | <td>Slackware</td> |
| 194 | <td>smartmontools-5.38-i486-1.txz</td> |
| 195 | |
| 196 | <td>5.38</td> |
| 197 | <td></td> |
| 198 | <td><a href="http://packages.slackware.it/package.php?q=current/smartmontools-5.38-i486-1.txz" title="http://packages.slackware.it/package.php?q=current/smartmontools-5.38-i486-1.txz"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 199 | </tr> |
| 200 | <tr> |
| 201 | <td>Ubuntu</td> |
| 202 | <td>smartmontools</td> |
| 203 | |
| 204 | <td>5.38-1ubuntu2</td> |
| 205 | <td></td> |
| 206 | <td><a href="http://packages.ubuntu.com/intrepid/smartmontools" title="http://packages.ubuntu.com/intrepid/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Download</a></td> |
| 207 | </tr> |
| 208 | </table> |
| 209 | </li> |
| 210 | </ul> |
| 211 | <hr /> |
| 212 | <ul class="High"><li><a name="debian"></a>Debian Linux - Install the Debian package</li></ul> |
| 213 | <ul class="Square"> |
| 214 | |
| 215 | <li>All versions of the smartmontools package in <i>.deb</i> format are |
| 216 | available at the <a href="http://packages.debian.org/search?keywords=smartmontools&searchon=names&suite=all&section=all"> |
| 217 | <img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Debian package search page</a>.</li> |
| 218 | |
| 219 | <li>If you're running Debian <a |
| 220 | href="http://www.debian.org/releases/stable/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />stable</a> please download a |
| 221 | backport to stable <a |
| 222 | href="http://www.backports.org/debian/pool/main/s/smartmontools/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />here</a>. |
| 223 | These packages are provided by <a |
| 224 | href="http://www.backports.org/dokuwiki/doku.php"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />www.backports.org</a>.<br /><br /></li> |
| 225 | |
| 226 | <li>You can then install the package using: |
| 227 | <p class="code">dpkg -i smartmontools_5.36-1_i386.deb</p> |
| 228 | |
| 229 | If you prefer to fetch the packages using apt, please read the instructions at |
| 230 | <a href="http://www.backports.org/dokuwiki/doku.php?id=instructions"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />backports.org</a>. |
| 231 | </li></ul> |
| 232 | |
| 233 | <hr /> |
| 234 | <ul class="High"><li><a name="redhat"></a>Red Hat Enterprise Linux, CentOS (both in versions 5 and newer) and Fedora Linux distributions</li></ul> |
| 235 | <ul class="Square"> |
| 236 | <li>The smartmontools package is part of the official |
| 237 | repositories and can be installed using the <tt>yum</tt> command: |
| 238 | |
| 239 | <p class="code"># you need to be root to do this<br /> |
| 240 | yum install smartmontools</p></li> |
| 241 | </ul> |
| 242 | |
| 243 | <hr /> |
| 244 | <ul class="High"><li><a name="other-rpm"></a>Other distributions providing RPM packages</li></ul> |
| 245 | |
| 246 | <ul class="Square"> |
| 247 | <li>Download the latest binary RPM file (<tt>smartmontools*.rpm</tt>) for your |
| 248 | distribution. Don't get the SRPM file (<tt>*.src.rpm</tt>).<br /><br /></li> |
| 249 | |
| 250 | <li>Install it using RPM. <em>You must be <tt>root</tt> to do this</em>:<br /> |
| 251 | <p class="code">su root # -> enter root password |
| 252 | <br />rpm -ivh smartmontools-5.33-6.i586.rpm</p> |
| 253 | For most users, this is all that is needed.<br /><br /></li> |
| 254 | |
| 255 | <li>If you want to remove the package (<tt>rpm -e smartmontools</tt>) |
| 256 | and your system does not have <tt>chkconfig</tt> installed, you may need |
| 257 | to use: |
| 258 | |
| 259 | <p class="code">rpm -e --noscripts smartmontools</p></li> |
| 260 | </ul> |
| 261 | |
| 262 | <hr /> |
| 263 | <ul class="High"><li><a name="CygwinInstall"></a> |
| 264 | Windows with <a href="http://cygwin.com/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Cygwin</a> installed - Install the Cygwin package</li></ul> |
| 265 | <ul class="Square"> |
| 266 | <li>Starting with CVS snapshot 2005-11-15, smartmontools is part of |
| 267 | the <a href="http://cygwin.com/packages/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Cygwin distribution</a>. |
| 268 | A list of available smartmontools packages and their contents is |
| 269 | <a href="http://cygwin.com/packages/smartmontools/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />here</a>.<br /><br /></li> |
| 270 | |
| 271 | <li>To update your installation, click on the "Install or update now!" |
| 272 | link on the <a href="http://cygwin.com/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Cygwin web page</a>. |
| 273 | This downloads <tt>setup.exe</tt> to your system. |
| 274 | Then, run setup and answer all of the questions. |
| 275 | Select smartmontools package in the "Utils" category.<br /><br /></li> |
| 276 | |
| 277 | <li>The optional source package (<tt>smartmontools-*-src.tar.bz2</tt>) |
| 278 | can be used to build both the Cygwin and the Windows binary packages |
| 279 | on Cygwin. |
| 280 | Refer to the file <tt>/usr/share/doc/Cygwin/smartmontools-*.README</tt> |
| 281 | for details.</li> |
| 282 | </ul> |
| 283 | |
| 284 | <hr /> |
| 285 | <ul class="High"><li><a name="WindowsInstall"></a> |
| 286 | Windows - Install the Windows package</li></ul> |
| 287 | <ul class="Square"> |
| 288 | <li>Download and run the latest smartmontools |
| 289 | <a href="http://nsis.sourceforge.net/Main_Page"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />NSIS</a>-installer |
| 290 | (<tt>*.win32-setup.exe</tt>) from |
| 291 | <a href="http://sourceforge.net/projects/smartmontools/files/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />here</a>. |
| 292 | <ul> |
| 293 | <li>The default install type "Full" creates start menu shortcuts |
| 294 | including an uninstaller, and adds the install directory to the PATH variable. |
| 295 | </li> |
| 296 | <li>Select install type "Extract files only" to disable these extra |
| 297 | components. |
| 298 | </li> |
| 299 | |
| 300 | <li>Virus scanners occasionally produce false positive virus reports for |
| 301 | NSIS-installers, see the |
| 302 | <a href="http://nsis.sourceforge.net/NSIS_False_Positives"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />NSIS False Positives page</a>. |
| 303 | If this is the case for the smartmontools installer, please send a report to the |
| 304 | <a href="mailto:smartmontools-support@lists.sourceforge.net"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />smartmontools-support |
| 305 | mailing list</a>.<br /><br /></li> |
| 306 | </ul> |
| 307 | </li> |
| 308 | <li><span class="marked">Starting with smartmontools release 5.37, the Windows package |
| 309 | is no longer provided as a ZIP archive (<tt>*.win32.zip</tt>).</span><br /> |
| 310 | If the self extracting installer cannot be used for some reason, the files may also |
| 311 | be unpacked by a recent version of <a href="http://www.7-zip.org/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />7-Zip</a>.<br /><br /></li> |
| 312 | |
| 313 | <li>More recent (and probably unstable) Windows test releases build from CVS |
| 314 | snapshots are available <a href="http://smartmontools-win32.dyndns.org/smartmontools/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />here</a>.</li> |
| 315 | </ul> |
| 316 | |
| 317 | <h3><a name="tarball"></a>Second Method (Linux/Solaris/FreeBSD/NetBSD/OpenBSD/Cygwin) - Install from the source tarball</h3> |
| 318 | <ul class="Square"> |
| 319 | <li>Download the latest source tarball from <a |
| 320 | href="http://sourceforge.net/projects/smartmontools/files/">here</a>. |
| 321 | Note: you probably want the most recent stable release. Stable releases have |
| 322 | even-numbered extensions, and unstable experimental releases have |
| 323 | odd-numbered extensions.<br /><br /></li> |
| 324 | |
| 325 | <li>Uncompress the tarball: |
| 326 | <p class="code">tar zxvf smartmontools-5.38.tar.gz</p></li> |
| 327 | |
| 328 | <li>The previous step created a directory called <tt>smartmontools-5.38</tt> |
| 329 | containing the code.  Go to that directory, build, and install: |
| 330 | <p class="code">cd smartmontools-5.38<br /> |
| 331 | ./configure<br /> |
| 332 | make<br /> |
| 333 | make install</p></li> |
| 334 | |
| 335 | <li>For releases >=5.19, <tt>./configure</tt> |
| 336 | |
| 337 | can take optional arguments. These optional arguments are fully explained in the |
| 338 | <a href="http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/INSTALL?view=markup">INSTALL</a> |
| 339 | file. The most important one is <tt>--prefix</tt> to change the default installation directories.<br /> |
| 340 | <i>Please note that the default installation location changed in versions >=5.31.</i> |
| 341 | If you don't pass any arguments to <tt>./configure</tt> all files will reside under |
| 342 | <tt>/usr/local</tt> to not interfere with files from your distribution. For more detailed |
| 343 | information please also refer to the |
| 344 | |
| 345 | <a href="http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/trunk/smartmontools/INSTALL?view=markup">INSTALL</a> |
| 346 | document.<br /><br /></li> |
| 347 | |
| 348 | <li>To compile from another directory (avoids overwriting virgin files from the smartmontools package) |
| 349 | replace <tt>./configure [options]</tt> by: |
| 350 | <p class="code"> |
| 351 | mkdir objdir<br /> |
| 352 | cd objdir<br /> |
| 353 | ../configure [options]<br /> |
| 354 | </p></li> |
| 355 | |
| 356 | <li>To install to another destination (useful for testing and to avoid overwriting an existing smartmontools installation) |
| 357 | replace <tt>make install</tt> by: |
| 358 | <p class="code">make DESTDIR=/home/myself/smartmontools-test install</p> |
| 359 | Use a full path: <tt>~/smartmontools-test</tt> won't work.<br /><br /></li> |
| 360 | |
| 361 | <li>Unless the destination directory is your home directory (or a location that you have write permission) |
| 362 | <br /> |
| 363 | <p class="code"># only root can do that:<br /> |
| 364 | |
| 365 | make install</p> |
| 366 | </li> |
| 367 | </ul> |
| 368 | |
| 369 | <h3><a name="SVNInstall"></a> |
| 370 | Third Method - Install latest unreleased code from SVN repository</h3> |
| 371 | <p class="marked">We moved from CVS to a Subversion (SVN) repository. |
| 372 | The new address for our repository is |
| 373 | <a href="http://smartmontools.svn.sourceforge.net/viewvc/smartmontools"><tt>https://smartmontools.svn.sourceforge.net/svnroot/smartmontools</tt></a></p> |
| 374 | |
| 375 | <ul class="Square"> |
| 376 | |
| 377 | <li>For those, who don't already have a Subversion client installed, |
| 378 | here is a <a href="http://subversion.tigris.org/links.html#clients">list of SVN-Clients</a> |
| 379 | |
| 380 | for different operating systems and in all colors and flavours. (Stand-alone clients, |
| 381 | Desktop-integrated clients, IDE plug-in clients, ..)<br /> |
| 382 | <br /></li> |
| 383 | |
| 384 | <li>All you need to do to get the latest development code is |
| 385 | (but note that the development code may be unstable, and that the |
| 386 | documentation and code may be inconsistent): |
| 387 | |
| 388 | <p class="code">svn co https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk/smartmontools smartmontools</p></li> |
| 389 | |
| 390 | <li>This will create a subdirectory called <tt>smartmontools/</tt> containing the |
| 391 | code. Go to that directory, build, and install: |
| 392 | <p class="code">cd smartmontools<br /> |
| 393 | ./autogen.sh<br /> |
| 394 | ./configure<br /> |
| 395 | |
| 396 | make<br /> |
| 397 | make install</p> |
| 398 | |
| 399 | <p>- See notes under <a href="#tarball">Second method - install from source tarball</a> for different options to <tt>./configure</tt> |
| 400 | and other useful remarks.</p> |
| 401 | </li> |
| 402 | |
| 403 | <li>To update your sources from trunk (development version): |
| 404 | <p class="code">cd smartmontools<br /> |
| 405 | |
| 406 | svn update</p></li> |
| 407 | |
| 408 | <li>One of the really cool things about version control systems is that you can get |
| 409 | <i>any</i> version of the code you want, from the first release up the |
| 410 | the most current development version. And it's trivial, because |
| 411 | each release is <u>tagged</u> with a name. Look at the |
| 412 | <a href="http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/">tags in our SVN repository</a>, |
| 413 | to see what the different names are. |
| 414 | |
| 415 | <p>E.g. run the following command to fetch the RELEASE_5_38 release:</p> |
| 416 | |
| 417 | <p class="code">svn co https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/tags/RELEASE_5_38/sm5 smartmontools</p> |
| 418 | |
| 419 | <p>Note that the directory with the smartmontools sourcefiles is named <span class="marked">sm5</span> in |
| 420 | releases <= 5.38.</p> |
| 421 | |
| 422 | <p>The rest of the build procedure is the same like described above, with one exception:</p> |
| 423 | |
| 424 | <p>- Skip <tt>./autogen.sh</tt> and <tt>./configure</tt> for tagged releases |
| 425 | |
| 426 | <= 5.1-18 (RELEASE_5_X_Y, where X = 0 or 1 and Y = 0 to 18).</p> |
| 427 | </li> |
| 428 | |
| 429 | </ul> |
| 430 | |
| 431 | <h3><a name="live-cd"></a> |
| 432 | Fourth Method - Don't install, run from Live-system</h3> |
| 433 | <p>If you have a system that is showing signs of disk trouble (for |
| 434 | example, it's unbootable and the console is full of disk error |
| 435 | messages) it can be handy to have a version of smartmontools that can |
| 436 | be run off of a bootable CD or floppy to examine the disk's SMART data and run |
| 437 | self-tests. This is also useful if you want to run Captive Self-Tests |
| 438 | (the <b><tt>-<font size="+2">C</font></tt></b> option of |
| 439 | <b><tt>smartctl</tt></b> ) on disks that can not easily be unmounted, |
| 440 | such as those hosting the Operating System files. Or you can use |
| 441 | this to run <tt>smartctl</tt> on computers that don't use Linux as the |
| 442 | day-to-day operating system.</p> |
| 443 | |
| 444 | <p><a name="bootable"></a>Here is a list of such bootable CDs:</p> |
| 445 | <ul> |
| 446 | <li><a href="http://www.finnix.org/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Finnix Live Bootable CD</a></li> |
| 447 | <li><a href="http://docs.fedoraproject.org/release-notes/f7/en_US/sn-Live.html"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Fedora Core 7 Live Bootable CD</a></li> |
| 448 | <li><a href="http://www.lnx-bbc.com/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />LNX-BBC Bootable CD</a></li> |
| 449 | <li><a href="http://www.stresslinux.org/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Stresslinux Bootable CD</a></li> |
| 450 | <li><a href="http://www.tux.org/pub/people/kent-robotti/looplinux/rip/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />RIP (Recovery Is Possible) Bootable CD</a></li> |
| 451 | <li><a href="http://www.sysresccd.org/Main_Page"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />SystemRescueCd</a></li> |
| 452 | <li><a href="http://www.gpstudio.com/stux/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />STUX Bootable CD</a></li> |
| 453 | |
| 454 | <li><a href="http://partedmagic.com/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Parted Magic</a> |
| 455 | (also contains <a href="http://gsmartcontrol.berlios.de/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />GSmartControl</a>)</li> |
| 456 | <li><a href="http://www.knopper.net/knoppix/index-en.html"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Knoppix</a> |
| 457 | (<a href="http://packages.debian.org/testing/utils/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Debian/testing</a> based CD)</li> |
| 458 | <li><a href="http://www.gentoo.org/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Gentoo Installer LiveCD</a></li> |
| 459 | <li><a href="http://grml.org/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />grml Linux Live-CD</a> |
| 460 | |
| 461 | (<a href="http://packages.debian.org/unstable/utils/smartmontools"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Debian/unstable</a> |
| 462 | based CD, smartmontools is also included in <a href="http://grml.org/faq/#whatissmall"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />grml-small</a>)</li> |
| 463 | <li><a href="http://ubuntu-rescue-remix.org/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Ubuntu Rescue Remix</a></li> |
| 464 | <li><a href="http://smartlinux.sourceforge.net/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />S.M.A.R.T. Linux</a> |
| 465 | (a bootable FLOPPY containing smartmontools!)</li> |
| 466 | <li><a href="http://www.inside-security.de/insert_en.html"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />INSERT (Inside Security Rescue Toolkit)</a> |
| 467 | (Knoppix based CD)</li> |
| 468 | |
| 469 | <li><a href="http://www.911cd.net/forums/index.php?showtopic=13459"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />Smartctl Plugin</a> |
| 470 | for <a href="http://www.nu2.nu/pebuilder/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />BartPE bootable live windows CD</a></li> |
| 471 | <li>A plugin for the <a href="http://www.ubcd4win.com/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />UBCD4Win</a> |
| 472 | can be created by the <a href="download.html#WindowsInstall">smartmontools windows installer</a></li> |
| 473 | <li>The <a href="http://www.ultimatebootcd.com/"><img src="pics/linkext.gif" width="11" height="11" border="0" alt="extLink: " />UBCD</a> |
| 474 | 5.0 beta contains PartedMagic (above), see also note about UBCD <a href="faq.html#UBCD">in the FAQ</a></li> |
| 475 | |
| 476 | </ul> |
| 477 | |
| 478 | <p>Please let us know if there are others, and we will add them to this list.</p> |
| 479 | |
| 480 | }}} |