How do I install an individual package on a Linux system?
I'm very new to Latex and have understood basic concepts. Now I would like to get syntax highlighting.
minted seems to be best choice according to Google but I you don't find detailed instructions on how to install it on a Ubuntu machine (and it is not included in any package).
I'm a bit stuck after generating the
minted.sty file. What steps to take next?
Update for Ubuntu 20.04: see I can't get minted package to work under Ubuntu (pygments error)
old answer (not recommended, see above link)
mintedis included in
Or you can install
mintedmanually, as mentioned in the comments.
Best way to install packages for TeXLive in Ubuntu?
Once you have
mintedinstalled (which comes by default with
TeXLive), you'll need
If you want to run your file with
pdflatex, then you need to so with
The documentation has this, and more information.