What type of flooring covering is under the carpet now?
Carpet pulls up at the edges. It's a dusty, nasty job to remove carpet and pad. Once out of there, remove tack strips and anything else with a little cat's claw. Clean the subfloor and lay down an underlayment cushion designed for the wood floor you've chosen.
Yes, pull up from the edges. But, for the garbage men to take it and for it to be easier to handle, use a box cutter to slice the carpet into 4' strips first.