Ubuntu 20.04 Deinstallation Imagemagick

#Get the list of the installed apps by:
apt list --installed

#Search for ImageMagick in the list and copy the name .In my case the name was "imagemagick-6.q16"
 sudo apt-get remove imagemagick-6.q16  
BlueMoon