Converting DVD to .avi format

How to I convert a DVD to .avi format to it can be stored on the hard drive? Using Nero?

Cheers,