LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2011, 11:55 AM   #1
grihm1
LQ Newbie
 
Registered: May 2011
Posts: 4

Rep: Reputation: 0
Unhappy What is MD5?


What is MD5? When I attempt to download an .iso I see thIS in the list next to the linux version I'm interested in downloading. Also, I have downloaded several .iso and am not sure if I'm to burn it to a CD/DVD or install directly to my pc. I have Virtual Close Drive which is suppose to allow me to install the .iso directly, but I haven't tried it yet. So botton line is, do I need to download the MD5 and the version of linux I'm interested in and plus, should I burn them both to a CD/DVD?
 
Old 05-12-2011, 11:57 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Welcome to LQ

Take a look at
http://linux.byexamples.com/archives...ecksum-how-to/

Kind regards
 
Old 05-12-2011, 12:03 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Hi and welcome to LQ.

MD5 hash is used to check the integrity of the file you've downloaded. It's always good practice to do it. For more information see: http://www.fastsum.com/support/md5-c...q/md5-hash.php


The most common way of installing linux is burning an .iso image on a cd/dvd and starting a computer off the cd/dvd. Normally you won't be able to install an operating system using any virtual drives. There are ways, however, to install Ubuntu from your running windows system. See https://wiki.ubuntu.com/WubiGuide
HTH
 
Old 05-12-2011, 03:22 PM   #4
grihm1
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for you guys reply. I kind of figured it was some type of checking for integrity, but was wondering if I was to download it and then download the linux version I want. Then what...? Would I see some self explanatory way to use it? How do I run it against the version of linux I downloaded?
 
Old 05-12-2011, 03:47 PM   #5
grihm1
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: 0
I see that this is the command to run:

Uses md5sum, the simple way is run the command line straight away. Let say you want to check the file ubuntu-6.10-desktop-i386.iso.

md5sum ubuntu-6.10-desktop-i386.iso

But does this mean I'm to download MD5 and the version of linus I want? Then run this command?
 
Old 05-12-2011, 07:12 PM   #6
rediflex
Member
 
Registered: Apr 2011
Distribution: Linux Mint, antiX, crunchbang
Posts: 33

Rep: Reputation: 3
What operating system will you be using to download the iso file and perform the check?
 
Old 05-12-2011, 09:00 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,665
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
MD5, like SHA1 and SHA2 and a few others, is actually a mathematical algorithm. There are many implementations of it, for every operating system under the rainbow.

The essential purpose of all of these algorithms is ... to detect changes. If you change one single lousy bit in an umpteen-gigabyte file, these algorithms will produce "a radically different number, whatever that number may be." (And, believe it or not, the fact that the number is "radically different" is actually quite important.)

This is why these algorithms are called "digital signature" or "digital fingerprint" (or, not accurately at all, "checksum") algorithms.

The Linux/Unix command md5sum filename will, given a filename, read the contents of the file, calculate the MD5 signature ("checksum") for those contents, and print it out. (Notice that this command implements and uses the MD5 algorithm ... but it isn't, strictly speaking, "the algorithm.")

Last edited by sundialsvcs; 05-12-2011 at 09:03 PM.
 
Old 05-13-2011, 05:21 PM   #8
grihm1
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: 0
I'll be using window XP I guess. This is why I typically order the CD/DVD with linux on it to avoid all this. But I wanted to see if I just was new to this procedure by asking you guys. So let me be clear, I download both the MD5 and the linux version I want, run the command md5sum <filename> from the command prompt in XP. And I'll get some type of confirmation. At the point I should burn to a CD/DVD and load on the pc I want it on, correct?
 
Old 05-13-2011, 10:49 PM   #9
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
There are some utilities (including free) on Windows also for both interactive and command line work.

In my orgn, we use both types.

As sundialsvcs said, the syntax is "md5sum filename" and the output is near standard. Something like"
Quote:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX filename.ext
 
Old 05-14-2011, 03:21 AM   #10
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Under windows, you can use e.g. digestit. It installs in the context menu, so right click on a file in windows explorer will give you the option.

How to use:
  1. download a file (e.g. an iso)
  2. copy the associated MD5sum (select the full text xxxxxxxxxxxx)
  3. right click the downloaded file in windows explorer, select 'digestit' -> 'verify MD5' and paste the copied MD5sum in the textbox and click OK
  4. after a while it will tell you if the given MD5sum matches the MD5sum that the program calculated
 
Old 05-14-2011, 03:32 AM   #11
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
This is one reason why I prefer to get .isos via torrents.

MD5 checksumming is all well and good, and works, but its a lot easier to just d/l using a torrent client, then when its d/led use the 'verify data' option. Every decent torrent client I've ever used has that option.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
c++ md5 develinux Programming 2 02-28-2009 10:38 AM
need help unpacking hmac-md5 hash into md5 hash lynx5 Programming 3 02-02-2008 04:06 PM
difference between md5 shadow and md5 elsewhere? whysyn Linux - Security 5 12-11-2007 10:11 AM
using iso.md5 and iso.md5.asc Tyir Linux - Newbie 3 07-10-2004 11:45 PM
md5 vehemon *BSD 1 07-22-2003 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration