I have both texlive-fonts-extra and texlive-fonts-recommended installed however I get 'multicols.sty' not found when compiling a tex file.
How do I fix this?
Update: the package is multicol without an s.
As far I can understand, the file multicol.sty is contained in texlive-latex-base package.
Try to install it with sudo apt-get install texlive-latex-base.
For ngerman you should install texlive-lang-german with sudo apt-get install texlive-lang-german.
As steeldriver recommended, below is working TeX example:
\documentclass[11pt,a4paper]{moderncv}
\moderncvstyle{casual}
\moderncvcolor{blue}
\usepackage{layout}
\usepackage{multicol}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[top=1in, bottom=1.25in, left=1.25in, right=1.25in]{geometry}
\firstname{}
\lastname{}
\setlength{\columnseprule}{0.4pt}
\begin{document}
\section{headline}
\hspace*{\hintscolumnwidth}%
\begin{minipage}{\maincolumnwidth}
\setlength{\hintscolumnwidth}{0pt}
\begin{multicols}{2}
\cventry{}{C\#}{basic}{}{}{} \par \cventry{}{UNIX}{basic}{}{}{} \par
\cventry{}{vim}{basic}{}{}{} \par \cventry{}{\LaTeX}{basic}{}{}{} \par
\cventry{}{HTML, CSS, PHP}{very basic}{}{}{} \par
\end{multicols}
\end{minipage}
\end{document}
It compiles normally from Gummi (sudo apt-get install gummi).
All needed TeX dependencies may be installed with
sudo apt-get install texlive-latex-extra lmodern texlive-lang-german texlive-latex-base
\familynameand\firstnamein the preamble (even if empty) as described here Moderncv - undefined control sequence in minimal document. You may also need to remove the \ line break after the last\cventry{}. – steeldriver Jan 28 '18 at 02:50moderncvclass. Some fields are necessary. – user10853 Feb 03 '18 at 13:31