The Linux command line has a wealth of flexible commands ... the -f option to "force" removal of a file. This attempts to delete a file, even if its permissions appear to restrict you from doing ...
Identify the installed package's name by running commands like "apt list --installed" (on Ubuntu) or "dnf list --installed" ...