Ubuntu is the most popular Linux flavour around, Latex is the gold standard for scientific writing and printing a standalone figure, table, whatever should be a nobrainer. And yet, installing the standalone package in Ubuntu is a Kafkian endeavour.
I've browsed through a dozen webpages suggesting different routes, ranging from the horribly complicated that might work but require a PhD to understand (How to install "vanilla" TeXLive on Debian or Ubuntu?) to others which are understandable but that simply don't work (How to install the documentclass standalone in Ubuntu?).
Now, Latex tells me '! LaTeX Error: File `standalone.cls' not found.' so I want to have .cls file. This is where I want to go.
I couldn't find one anywhere, only the CTAN package which has an .ins and .dtx pair.
Extracting to a texmf local folder pdflatex'ing either of them didn't help because I am prompted for a multitude of .sty's, so this is probably wrong.
Can you provide a sequence of steps that will take me from point A (.ins/.dtx) to point B (.cls) and that can actually be followed by a human?
Many thanks
standalone
, but you'd need to figure out whichtexlive-
package includes it. That is the best option, and you just use your package manager to install it. That way, it will match the rest of your TeX Live installation, be updated automatically when you update your OS etc.apt-cache search standalone | grep texlive
. Even though I do not have that package installed, the terminal returns:texlive-latex-extra - TeX Live: LaTeX additional packages
. At this point, you could follow the answer of @LucaD.