I just recently got a laptop and I have been wanting to start recording some of the riffs that I come up with. So, what should I download to do that, and what do I need?

Thank you for your help.
Reaper! its free for 30 days, but if you just need something simple then use audacity.
Quote by MightyAl
Could be worse. Though from time to time, I would like to shoot them with rocket-propelled chainsaws.
You're going to need an interface for your guitar which plugs into your laptop, I reccommend using the M Audio Black Box or the Line 6 POD as they have integrated effects and can be used as pedal effects when you dont need to record.

As for recording, there are lots of good programs, such as Ableton Live, Cubase, Cakewalk which you pay for. Good free programs i have used are Kristal Studios and Audacity.
There are free alternatives too ...

I use a whole free chain on Linux ... Ardour for DAW, Rosegarden for sequencer, Hydrogen for drums, Zyadd for Synth instruments.

I have a few samples on my profile you can hear. Guitar is old school ... small amp through a SM57