How to get texlive to work? (Ubuntu)

texliveUbuntu

I am working on Ubuntu 20.04.3 LTS.
I want to work with TEXstudio.

When trying to build my pdf I get error messages like:
File 'biblatex.sty' not found. \addbibresource
or
File 'blindtext.sty' not found.

As far as I understand, I do not have these packages installed. I thought, that that's what I need texlive for in the first place. I looked with apt list --installed if both are installed and got:

texlive-base,
texlive-binaries,
texlive-fonts-recommended,
texlive-latex-base,
texlive-latex-extra,
texlive-latex-recommended,
texlive-pictures,
texlive-plain-generic,
texstudio-doc,
texstudio-l10n,
texstudio/focal

Do I need more for it to work?
How do I install singular packages?
I am close to crying, appreciate any help!

Best Answer

As there are two ways to install TeXLive on Linux, it is important to know what exactly you installed. Since you mentioned

texlive-base, texlive-binaries, texlive-fonts-recommended, texlive-latex-base, texlive-latex-extra, texlive-latex-recommended, texlive-pictures, texlive-plain-generic

I will assume you're using TeXLive from Debian/Ubuntu.

This TeXLive is split into selveral Ubuntu packages (not related to LaTeX packages), and you thus need to know exactly which of these texlive- packages you need or you can install them all by installing texlive-all via apt-get.

If you want to keep it minimal, here is a tip:

Install apt-file via

sudo apt install apt-file
sudo apt-file update

then you can look up biblatex.sty via

apt-file search biblatex.sty

and then install the appropriate texlive- file from the answer.

Unless they changed the name biblatex.sty is in texlive-bibtex-extra

Related Question