No; the i5-2430M is a mobile processor for use in laptops and mobile systems; chances are that the processor is actually soldered to your laptop's motherboard, and even if it is actually socketed, there are no motherboards avaialable that will accept a Socket G2 mobile processor and also work for the purposes of a gaming rig. There are some made, but they're intended for embedded/low power systems.
Sorry. You'll need to buy a processor for your new desktop rig.
Thank you very much. I couldn't find an answer everywhere online
you saved me a lot of time.