If you have not linked your PAN with Aadhaar earlier and want to do it now, it can very well be done online or offline. However it will involve payment of a late fee of Rs 1000. But if due to any reason like date of birth mismatch, etc the linkage could not be done, then you will have to get it corrected first.