You do not need to enter Aadhaar details while purchasing train tickets. However, it is advisable to carry an Aadhaar card while travelling on the train.