I installed Texlive2021 fresh after deleting previous installations of texlive packages. The installation fine but the following file:
LaTeX test file
\documentclass{article}
\begin{document}
test
\end{document}
gave the following output:
$ pdflatex test2.tex
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (TeX Live 2021) (preloaded format=pdflatex) entering extended mode
(./test2.tex
LaTeX2e <2021-11-15> patch level 1
L3 programming layer <2021-11-22>
! LaTeX Error: File `article.cls' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)
Enter file name: X
The previous installation of texlive worked fine. I could not make any out of this and would be thankful for your kind help and suggestions.
kpsewhich article.clsshows anything? – Teepeemm Jan 01 '22 at 05:47