How to uninstall old Fluka version on Ubuntu

How to uninstall the previous version of Fluka so that I can new version on Ubuntu. I have installed the new version of flair using Sudo apt update and upgrade but I don’t know how to update Fluka to 4.0 version.
Thank you.

Dear @ytaiwo85,

If you installed FLUKA from the .deb package, then you don’t need to uninstall it, just install the new version. If you installed it from the .tgz package, they you can simply delete the directory containing the old version of FLUKA.