You will have to remove the front hub assembly as you have to remove the disc to remove the stud
The rear you might be able to knock the old stud out with a punch and if you can wiggle the new stud in you can pull it up tight with a wheel nut.The wheel nut should be fitted on back to front and a few greased washers placed in between the hub and nut.
I only recomend this methord when in the bush. as it is much better to either punch or press the stud in from the back.