3

I made a Dockerfile for Tectonic. It works not as fast as I want: each run it tries to download the same packages again and again. I want to add volumes support to speed up build process.

I have to know what folder Tectonic uses for its' files, packages, etc.

I'm not able to find any documentations or settings about temporary directories.
Futhermore, if I run the docker image, and then - if I run tectonic inside the image, I will not find the downloaded files inside.

Can anyone point the way?

2 Answers 2

5

Everything is stored in $HOME/.cache/Tectonic. (I used strace to figure it out.)

5
  • @modnar of course it does. Did you read the actual question? The OP is specifically asking "I have to know what folder Tectonic uses for its' files, packages, etc. I'm not able to find any documentations or settings about temporary directories." and the title of the question is "downloads/packages folder". So I told them where Tectonic stores its files. Not every question needs a two-pages answer.
    – Clément
    Commented Jul 20, 2021 at 14:31
  • 1
    Clément, my bad. You are absolutely right. I am deleting the first comment.
    – citsahcots
    Commented Jul 20, 2021 at 14:42
  • 1
    @modnar No worries :) Thanks.
    – Clément
    Commented Jul 20, 2021 at 15:45
  • Is this on Linux? I can't find a directory $HOME/.cache/Tectonic on Mac.
    – a06e
    Commented Sep 18, 2022 at 16:41
  • Correct, Ubuntu
    – Clément
    Commented Sep 18, 2022 at 18:46
1

To complement the other answer. ~/.cache/Tectonic is the cache path on Linux only. On MacOS, the path is ~/Library/Caches/Tectonic. I don't know about Windows.

Source: http://tectonic.newton.cx/t/where-does-tectonic-put-support-files/79/2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .