Hi and welcome to the forum
The correct way to remove application is issuing the following command in terminal:
sudo apt remove --purge package-name
Refer to the tutorial on this forum.
Since you have deleted some folders this command may not work.
If that is the case, you have to reinstall application to remove it.
2 Likes