pdflatex hello.tex
pdflatex hello.tex
sudo apt install -y texlive-full
cat > hello.tex <<'EOF'
\documentclass{article}
\title{My LaTeX Document}
\author{Name}
\date{\today}
\begin{document}
\maketitle
Hello, world!
This is my first \LaTeX{} document.
\end{document}
EOF