exiftool does the job for me, it’s written in perl so should work for you on any o/s
usage :
exiftool -all= image.jpg
UPDATED – as PeterCo explains below this will remove ALL of the tags. if you just want to remove the EXIF tags then you should use
exiftool -EXIF= image.jpg