pdflatex dos not compile

Partha Pratim Ghosh ghosh.parthapratim.unisa at gmail.com
Sat Jan 1 11:06:40 CET 2022


Dear TUG Members,

Firstly, please let me wish you all a very happy and a prosperous New
Year....

I installed Texlive2021 fresh after deleting previous installations of
texlive packages. The installation went fine but the following file:

---- test LaTeX package---

\documentclass{article}

\begin{document}

test

\end{document}

----- end of test file---

gave the following output:

----pdflatex output----

[partha at Galois ~]$ 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 to proceed, or enter new name. (Default extension: cls)

Enter file name: X

-----------end of output-------------------

I have installed all the packages except the packages for humanities,
social sciences, music, games and (European, Japanese, Chinese)
languages. A search for article.cls gave:

---- locate article.cls output----
[partha at Galois ~]$ locate article.cls
/usr/local/texlive/2021/texmf-dist/doc/latex/seuthesis/zharticle/zharticle.cls
/usr/local/texlive/2021/texmf-dist/doc/lualatex/wallcalendar/doc/memoir-article.cls
/usr/local/texlive/2021/texmf-dist/doc/luatex/luaintro/exaarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/afparticle/afparticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/bangtex/barticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/base/article.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/elsarticle/elsarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/extsizes/extarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/gzt/gztarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/hagenberg-thesis/hgbarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/koma-script/scrarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/quantumarticle/quantumarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/skb/skbarticle.cls
/usr/local/texlive/2021/texmf-dist/tex/latex/tlc-article/tlc-article.cls
/usr/local/texlive/2021/texmf-dist/tex/latex-dev/base/article.cls
---------------end of output-----------------------

Any help towards reslving the issue would be highly appreciated.

With my regards and all the very best wishes,

partha


More information about the tex-live mailing list.