***
It would be best to remove the hard drive, destroy it completely, and then get rid of the old computer in whatever manner is available. If selling it and the buyer does not want it without a hard drive, those are relatively cheap these days. So, install a new one and then sell the old computer for a price that includes the cost of the new hard drive.
***