For a closet I'd just clean up all the old carpet etc and put down carpet tiles, which are cheap and easy to cut and lay.
I need to put down carpet in my closets. In closets carpets keep the space cleaner as they stop all that crap blowing in and getting stuck in the corners.