Today I tried to compile a .tex document with a futile attempt.I received an error stating that beamer.clt file not found. I checked its installation, reinstalled, found its location on the disk with no help. Fedora seemed to have a bunch of texlive packages installed. When I tried to remove beamer.cls from my computer, it performed a huge deletion of files including those I have never thought to be touched (R installation and texmaker). I believe this was dute texmaker's installation. Even RStudio seemed to disappear. Anyway, I reinstalled all but the problem continued (as I suspected beforehand). After some hours of searching for a solution, luckily I found this little code to bring back beamer into the sce tlmgr install beamer I also reinstalled babel using this command. Now it works as expected.
Errare humanum est sed perseverare diabolicum.