You are trying to remove curl with dnf or yum commands. You cannot do it because dnf or yum requires curl. What should you do to reinstall curl?
You need make installed. If you need assistance with this, see this posting.
Manually back up then delete curl. Run "which curl". Move it to a user's home directory.
Get a link to the .tar.gz media. Download it.
Use commands like this to expand the files and install curl:
copy the file downloaded into /opt/
tar -zxvf NameOfFileAbove.tar.gz
cd into the directory created
Run commands such as these:
sudo make install