Use headphones on the line-out of the lappy to monitor for gross distortion as you set the levels. Scan for loud passages. Might also want to check specs on your laptop to ensure there is a 2 channel input for recording - some only do mono.
Tutorial for Audacity
here.
Soundforge has this
link.
Good Luck and Happy Recording!