You don't have to buy most Linix distros, you simply go to the distro website and download for free. Below are links for Ubuntu and Mint. There are many others as well. I recommend Mint.
http://www.ubuntu.com/download
http://www.linuxmint.com/download.php