Zend certified PHP/Magento developer

Uninstall rEFInd and remove linux partition

A couple years ago I added a Linux partition to my Mac laptop. I also installed rEFInd to manage my partitions. Now, I’d like to remove that partition, and uninstall rEFInd. However, Disk Utility does not seem to see the Linux partition. It sees the MacOS partition, and an unknown partition labelled “Linux Swap”, which is only 4gb. I would like to remove my Linux partition and return that storage to the MacOS partition. In addition, I’d like to uninstall rEFInd. Does anyone know how this can be done?

If necessary, I have no problem wiping my drive completely and reinstalling MacOS. I’ve already made a backup of the files I’d like to keep, and made a USB which I can install MacOS from.

Thank you for any advice!