I’m trying to install Typst on a Linux machine (Linux Mint, if it matters). On a Mac, this was very easy: brew install typst, and the resulting installation was in opt/homebrew/bin/typst (for the compiler) and opt/homebrew/share/man/man1/typst.1 (for the manual). Typst isn’t in my package manager, and I have not had good luck with Snap, so I downloaded the tarball. The installation instructions for Linux instruct the user to “unpack the archive in the directory where you want to keep the Typst compiler.” Fair enough, but where is that? For example, I don’t have directories /opt/bin and /opt/share; should I create them? Or do these files go somewhere else on a Linux system?
Fair enough, but where is that?
That’s arbitrary. You can put the binary anywhere included in your PATH environment variable. I personally prefer mkdir -p ~/.local/bin/.
By the way, GitHub - typst-community/typst-install: 🤖 curl | sh installer script for Typst · GitHub is also available.
2 Likes