I'm trying to set up a TexLive installation on Ubuntu to use with VimTex. I installed texlive and texlive-pictures, which should have all the packages I need for using circuitikz -which I need for my circuit analysis labs. However, I found that when I tried to compile my tex file to pdf using
latexmk -pdf lab.pdf it gave me an error that xstring.sty couldn't be found.
I decided to wget from CTAN, unzip, and mktexlsr to make sure LaTeX knew where I installed it. It worked for xstring, but when I went back to try and compile again it said another package was missing: siunitx. I did the same steps for siunitx and found that the .sty wasn't already in the .zip file like it was for xstring. I attempted to compile using the latex command, and was bounced to another dependency, alphalph. This is probably the most frustrating part, I attempted to download and compile alphalph.dtx and it told me that it required alphalph.sty to compile!
This is the output of
sudo latex alphalph.dtx
! LaTeX Error: File 'alphalph.sty' not found. Type x to quit or <Return to proceed>, or enter new name. (Default extension: sty)
This is my first pass at setting up LaTeX locally, usually, I just use Authorea or Overleaf. So far it has been quite frustrating. I have a feeling that there is something very basic that I am missing here. Any help would be appreciated.