I believe the steps are pre-made, then set/secured in place in the RV. As such, they are likely stapled together, set, then screwed into the RV floor and staircase side-walls.
I'd say, remove the carpet, then find/remove the screws holding the staircase into the RV.
I'll try to find out from Production.
Hopefully someone will beat me back here with the information though
Jim