Actions

Difference between revisions of "How to determine a package checksum"

From Joomla! Documentation

m (needs updating)
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{page|needs updating|Update to current version references.}}
 
A checksum is a string of characters created by applying a mathematical algorithm to the contents of a file.  It allows you to determine whether two files are identical because changing even a single bit in a file will cause the checksum to change.  Although it is possible for two different files to have the same checksum it is statistically unlikely for an error introduced during a file copy to leave the checksum unchanged.  Furthermore, it is extraordinarily difficult to deliberately change a file without also changing the checksum.
 
A checksum is a string of characters created by applying a mathematical algorithm to the contents of a file.  It allows you to determine whether two files are identical because changing even a single bit in a file will cause the checksum to change.  Although it is possible for two different files to have the same checksum it is statistically unlikely for an error introduced during a file copy to leave the checksum unchanged.  Furthermore, it is extraordinarily difficult to deliberately change a file without also changing the checksum.
  
Line 22: Line 23:
 
: A command line utility available free of charge [http://support.microsoft.com/kb/841290 from Microsoft].
 
: A command line utility available free of charge [http://support.microsoft.com/kb/841290 from Microsoft].
  
[[Category:Archived pages]]
+
[[Category:Installation]]

Latest revision as of 21:28, 19 January 2014

Copyedit.png
This Article Needs Your Help

This article is tagged because it NEEDS UPDATING. You can help the Joomla! Documentation Wiki by contributing to it.
More pages that need help similar to this one are here. NOTE-If you feel the need is satistified, please remove this notice.

Reason: Update to current version references.


A checksum is a string of characters created by applying a mathematical algorithm to the contents of a file. It allows you to determine whether two files are identical because changing even a single bit in a file will cause the checksum to change. Although it is possible for two different files to have the same checksum it is statistically unlikely for an error introduced during a file copy to leave the checksum unchanged. Furthermore, it is extraordinarily difficult to deliberately change a file without also changing the checksum.

Although there are several different kinds of checksum available, the Joomla! project publishes the popular MD5 checksum for all full distribution and patch files. The MD5 checksum string is always exactly 32 characters long.

Unix-style systems (such as Linux)

From the command line use the md5sum program. For example, here we determine the MD5 checksum for a Joomla! patch file.

md5sum Joomla_1.0.11_to_1.0.12-Stable-Patch_Package.tar.bz2
67534a24ca89b76f5ae197ed171bd75e Joomla_1.0.11_to_1.0.12-Stable-Patch_Package.tar.bz2

Type man md5sum at the command line for full details on the md5sum program.

Apple Mac OS X

Several MD5 checksum tools are available that use OS X's md5 command line utility. One such tool is called MD5 and is freeware available from Eternal Storms Software. Once installed, just enter the checksum associated with the package, then browse to select your downloaded copy of the package, and it will compare the two checksums. Several dashboard widgets can also calculate checksums.

Microsoft Windows

HashTab shell extension
Displays various checksums from within Windows Explorer. Available free of charge from http://beeblebrox.org/hashtab/
Win32 ports of GNU utilities
Command line utilities available from http://unxutils.sourceforge.net under the GNU/GPL license. Once copied to a convenient folder type md5sum --help for usage instructions.
File Checksum Integrity Verifier
A command line utility available free of charge from Microsoft.