I agree with BuckBarker to get a professional carpet cleaner. I love our carpet in the living room and bedroom I would not do without them. Many have changed to wood tiles and some ceramics that look like marble floors which look beautiful. But what do not like about them is in the winter months the floor just gets too darn cold unless you have the heated floors like some coaches. I only have two heat pumps on top and furnace so I would never go for the wood floors or all ceramic, marble floors. I think if I really liked my carpet but needed replacing I would take it to a professional that lays carpets and put some new carpet on the RV. I am sure they do it all the time.
I personally hate the way wood floors look on a RV. I would rather have the marble looking floors. But that is just me! Everybody has different likes and dislikes.