I've changed my OS (yesterday and I'm new to it) to Ubuntu 22.04, installed TeX Live and can't understand why it's not working with russian and ukrainian languages. I'm using Sublime Text
as an editor
\documentclass{article}
\usepackage[T2A,T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian,english]{babel}
\begin{document}
Текст
\end{document}
Errors:
[Compiling /home/anmnv/Documents/text.tex]
TraditionalBuilder: Engine: pdflatex. Invoking latexmk... done.
Errors:
/usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty:111: Package fontenc Error: Encoding file `t2aenc.def' not found. [\ProcessOptions*]
/usr/share/texlive/texmf-dist/tex/generic/babel/babel.sty:4254: Package babel Error: Unknown option 'russian'. Either you misspelled it [\ProcessOptions*]
/home/anmnv/Documents/text.tex:8: LaTeX Error: Unicode character Т (U+0422) [Т]
/home/anmnv/Documents/text.tex:8: LaTeX Error: Unicode character е (U+0435) [Те]
/home/anmnv/Documents/text.tex:8: LaTeX Error: Unicode character к (U+043A) [Тек]
/home/anmnv/Documents/text.tex:8: LaTeX Error: Unicode character с (U+0441) [Текс]
/home/anmnv/Documents/text.tex:8: LaTeX Error: Unicode character т (U+0442) [Текст]
No warnings.
/home/anmnv/Documents/text.log:1: Double-click here to open the full log.
[Done!]
T2A,T1
toT1, T2A
. Strange...fontenc
andinputenc
and recompile with (preferably) LuaLaTeX.