# How to run overleaf locally

So far I have been working exclusively online via Overleaf. But now I would like to switch to working offline as well. I would like my compilation process to mimic the one by Overleaf exactly. I tried to read how does Overleaf compile my project. I saw that it uses latexmk so I went ahead and installed it. (I also have texlive-latex-extra on my machine,running Ubuntu 18.04, if that makes any difference). Now, according to the article I linked I should add that code to latexmkrc file. But I have no such file so I am stuck. If anyone could provide any help it will be much appreciated.

TeX - LaTeX Asked by cgss on December 28, 2020

If you don't have any latexmkrc file, open a new file in your \$HOME directory, and name it .latexmkrc (if it is in your document directory, may be named either latexmkrc or .latexmkrc, as stated by Johh Collins in comments) and paste settings given in this article there.

Correct answer by sztruks on December 28, 2020

## Related Questions

### Dotfill Not Completely Filling Dots

1  Asked on February 23, 2021

### How can I remove the extra padding from my longtable’s right-most column?

1  Asked on February 23, 2021 by ngm

### apacite doesn’t show date but only n.d

1  Asked on February 23, 2021 by tschinz

### Babel option clash in scrlttr2 letter

0  Asked on February 23, 2021

### Simple box in beamer

1  Asked on February 23, 2021 by thewrongalice

### How does one implement drop caps in plain TeX?

1  Asked on February 23, 2021 by c-j

### Tight square of subfigures

1  Asked on February 22, 2021 by gbruss

### How to control the positions of multiple captions under images?

2  Asked on February 22, 2021 by ceibam

### Customizing questions environment in exam class

0  Asked on February 22, 2021 by scholar

### How do I input the symbol for Solar Mass?

2  Asked on February 22, 2021 by hansatanu-roy

### 3D perspective mode using xy package

1  Asked on February 22, 2021

### How make colored headrow in a table?

2  Asked on February 22, 2021 by user2869180

### Lined-paper line spacing, and redefining the math environment

1  Asked on February 22, 2021

### TikZ anchor a graph at a non-graph-node coordinate

0  Asked on February 22, 2021 by tsj

### document ->endgroup ERROR

0  Asked on February 22, 2021 by gal-v

### Make level-3 nested subscripts always smaller

1  Asked on February 22, 2021 by emilio-ferrucci

### Left-up arrow in flowchart

2  Asked on February 22, 2021 by rageful

### Missing number is treated as zero for bibliography and section

1  Asked on February 22, 2021

### leftmargin length not working in enumerate environment

3  Asked on February 22, 2021 by bernhard

### How to typeset a two column parallel poem?

1  Asked on February 22, 2021 by wpkzz

### Ask a Question

Get help from others!