SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Or if you have cygwin http://www.cygwin.com/ , which is basically a port of the gnu binutils to Windows, you can use the version of md5sum included with that.
If you are not familiar with the command line, winmd5sum or similar will be easier to use.
Or you can download the md5sum.exe found on the web and place it to the system directory of your Windows operating system, after which Command Prompt will locate it when you launch it by it's name (you only have to type "md5sum" to start it, instead of "c:\[path]\[to]\[md5sum]\[program]\md5sum.exe" for example). You can locate it by searching for md5sum.exe on your favourite web search engine. For example etree.org/md5com.html should contain it (just found it, didn't check - verify the page yourself first).
After downloading it to your system directory just open up a command prompt (start -> programs -> accessories -> ...), head to the place where your Slackware image is (or whatever file you want to check), and either run
Code:
md5sum filename.xyz
to calculate a checksum for filename.xyz, or if you downloaded the MD5SUM file (which contains the checksums from the original file creator) to the same directory where the file-to-be-checked is,
Code:
md5sum -c MD5SUM
which should report "ok" to files whose checksum matches, or errors in other cases. Note that if the MD5SUM file contains checksums for files that don't exist on the directory, md5sum reports errors about them - dismiss those.
I recall the switch to check files mentioned in a checksum file (MD5SUM usually) is lowercase "-c", not uppercase "-C".
For windows I would recommend either using the md5sum.exe file straight up as mentioned by b0uncer or use md5summer.
This thread would probably be more appropriate in "General" as it doesn't really have anything to do with Linux or Slackware.
That being said this is a great forum to place questions if you have trouble installing Slackware or need help with other Slackware-related things.
Don't agree! The OP asked how to check the md5sum for Slackware.
Therefore it does belong in this forum. Some of the responses were related to other issues but they are related.
Don't agree! The OP asked how to check the md5sum for Slackware.
Therefore it does belong in this forum. Some of the responses were related to other issues but they are related.
Read the original post.
The original poster asked how to check the md5sum for a Slackware install cd ISO, not how to check a md5sum in Slackware itself. Please reread his posts which I quoted below.
Quote:
Originally Posted by manz00r
how to check the md5 checksum of slackware
and with which software?
Quote:
Originally Posted by manz00r
i dont have linux
how to check them on windows ?
Do you see the part where he says he doesn't have Linux and wants to use Windows to do this?
It's not a big deal and it doesn't really matter to me what forum this particular thread is in. It is just my opinion that it belongs more appropriately in a non-Linux forum since this thread is about Windows software.
The original poster asked how to check the md5sum for a Slackware install cd ISO, not how to check a md5sum in Slackware itself. Please reread his posts which I quoted below.
Do you see the part where he says he doesn't have Linux and wants to use Windows to do this?
It's not a big deal and it doesn't really matter to me what forum this particular thread is in. It is just my opinion that it belongs more appropriately in a non-Linux forum since this thread is about Windows software.
Yes, I saw that part of the thread. Note where I posted in the time line of the thread. I still don't agree that the thread should be posted somewhere else.
A lot of M$ users ask question relative to their needs in this forum. Don't be a purist! GNU/Linux is just a tool, just like M$ Win/XP/VISTA or whatever. GNU/Linux just happens to be open and a better OS yet it is still a tool.
If it didn't matter so much to you then why the big response?
A lot of M$ users ask question relative to their needs in this forum. Don't be a purist! GNU/Linux is just a tool, just like M$ Win/XP/VISTA or whatever. GNU/Linux just happens to be open and a better OS yet it is still a tool.
If it didn't matter so much to you then why the big response?
I just wanted to state my opinion on the matter. That is all.
I was not saying that the post shouldn't be on linuxquestions.org. Rather I was saying it would be more appropriate at the General Section of linuxquestions.org because the Original Poster was asking about how to check the md5sum using Windows Software.
Distribution: have used, in order, red hat, ubuntu, slackware
Posts: 3
Rep:
Unsure of which system directory you mean
Update: Nevermind, I got it.
WINDOWS under C:\ is the directory I wanted.
and the file as MD5SUM in your example should have been, you meant, the file name (as found by right-clicking properties on the file)
Original post follows:
Quote:
Originally Posted by b0uncer
Or you can download the md5sum.exe found on the web and place it to the system directory of your Windows operating system,
Excuse me, but which is the System Directory on Windows XP Home?
I copied my md5sum.exe program to the C drive in the Explore tree and it disappeared. Then I ran these commands like you said...
Quote:
Originally Posted by after which Command Prompt will locate it when you launch it by it's name (you only have to type "md5sum" to start it, instead of "c:\[path
\[to]\[md5sum]\[program]\md5sum.exe" for example). You can locate it by searching for md5sum.exe on your favourite web search engine. For example etree.org/md5com.html should contain it (just found it, didn't check - verify the page yourself first).
After downloading it to your system directory just open up a command prompt (start -> programs -> accessories -> ...), head to the place where your Slackware image is (or whatever file you want to check), and either run
Code:
md5sum filename.xyz
to calculate a checksum for filename.xyz, or if you downloaded the MD5SUM file (which contains the checksums from the original file creator) to the same directory where the file-to-be-checked is,
Code:
md5sum -c MD5SUM
And it told me
Code:
C:\...\My Documents\Downloads>md5sum -c MD5SUM
'md5sum' is not recognized as an internal or external command,
operable program or batch file.
I quickly hit Undo Move and landed the md5sum executable back on my desktop. Now where SHOULD I have placed in in the Windows XP file tree?
Last edited by mzcd; 06-29-2008 at 01:09 PM.
Reason: bolding note that i figured it out and moving it to the top
I also see no accurate answer on how to do md5sum FROM slackware, so when you get your slack loaded and want to check a download FROM slack, do this.
$ md5sum -c filename.md5
The above command typically requires you have the file you want to check and the .md5 file in the same directory. That means you will have 2 files:
filenamefoo
filenamefoo.md5
....and you plug the .md5 file into the above command, not the name of the file you are checking (filenamefoo).
The contents of an .md5 file has this format:
hashsum filename
^^
Example:
e60930ce488c41f0d39ed libkipi-0.1.6-i486.tgz
Note the TWO spaces between the hashsum and the filename. Also note the filename is the file name you want to check, not the md5sum file name. I point this out because sometimes you can't download the .md5 file, but can read the hashsum value, in which case you would create the .md5 file by using a text editor to enter a single line like the above example and labeling it an .md5 file of the same name as the filename within the file, only with an .md5 extension. Then run the md5sum command as above.
Confused? Me too. The man md5sum page is one of the most vague man pages I ever ran across, so I like to help anyone who is confused by this particular command.
I see posting here doesn't always preserve the spacing I intended. Oh well, just realize the always use TWO spaces between the hash and the filename when creating an .md5 file. No more, not less.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.