Help save my dying yucca

in Plants
I have been given a yucca plant from a family friend, it was in very bad condition so i have trimmed a lot of the dead/dying leaves off. It needs repotting but unsure as to what soil to use? The soil is very dry and in fact split in half probably from the roots. Parts if the leaves remaining are browning and curling. Desperately trying to save this plant to add it to my collection but unsure as to how. Please help.

0
Posts
You can easily get overrun with yuccas
Now that we are in the growing season I would also suggest that it needs a good feed, repot or not repot, a good seaweed based feed will help him out for sure. They do like bright light and can stand direct light for a spell also.
**But remember that in between waterings it must fully dry out before another dousing**
if you manage all of this you find that new growth will come bustling through in no time at all and you can then remove the old browning parts
John Innes seed compost
John Innes No’s. 1,2 & 3 and Ericaceous.
https://www.rhs.org.uk/advice/profile?PID=952