Mostly the library. It's rare I buy a book outright. If I do, it will be on Ebay where I can find better deals. I always make sure they are new & ask questions on the condition of the book.
There are people that have to do it this way because they're already pinching pennies enough to get all their bills paid. And then they usually don't have enough money in the end to buy anything extra.