# Instalar fuentes OTF y TTF en Linux

<figure><img src="/files/iTfFzYMDSVb7cWOWLdlg" alt="" width="563"><figcaption></figcaption></figure>

Instalacion de las fuentes San Francisco de Apple, el formato de las fuentes es .otf y un .ttf, podemos o bien ir a la web de apple developers y descargar los .dmg que contienen las fuentes (si tenemos un Mac) o hacerlo por git...

{% hint style="info" %}
Este tutorial es valido para otras fuentes .otf y .ttf
{% endhint %}

Descargamos el pack de fuentes

```sh
git clone https://github.com/sahibjotsaggu/San-Francisco-Pro-Fonts.git && cd San-Francisco-Pro-Fonts
```

\
Con las fuentes en nuestro equipo, ahora creamos 2 directorios

```sh
sudo mkdir /usr/share/fonts/opentype/apple
sudo mkdir /usr/share/fonts/truetype/apple
```

\
Ahora copiamos las fuentes .otf

```sh
sudo cp -rf *.otf /usr/share/fonts/opentype/apple/
```

\
Y ahora las fuentes .ttf

```sh
sudo cp -rf *.ttf /usr/share/fonts/truetype/apple/
```

\
Cambiamos los permisos a las fuentes

<pre class="language-sh"><code class="lang-sh"><strong>sudo chmod 644 /usr/share/fonts/opentype/apple/*.otf
</strong><strong>sudo chmod 644 /usr/share/fonts/truetype/apple/*.ttf
</strong></code></pre>

\
Ahora tenemos que actualizar la cache del sistema

```sh
sudo fc-cache -f -v
```

Ya podemos tenemos disponible las fuentes para cambiarlas, y reiniciar el sistema.

<figure><img src="/files/f38kFuHDgub5i0hgqJKY" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.azagra.dev/linux/instalar-fuentes-otf-y-ttf-en-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
