From ad1a1fe03e8902a87b286551841733c6b5a45fcb Mon Sep 17 00:00:00 2001 From: Ivan Vyshnevskyi Date: Wed, 26 Jul 2017 16:31:15 +0300 Subject: [PATCH] Add package install instructions for Debian, Ubuntu and Arch --- Linux-instructions.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Linux-instructions.md b/Linux-instructions.md index fcd4789..794efdd 100644 --- a/Linux-instructions.md +++ b/Linux-instructions.md @@ -1,4 +1,17 @@ -With most desktop-oriented distributions, double-clicking the font file should be enough. If it isn’t (e.g., xubuntu), try this: +## Installing with a Package Manager + +### Ubuntu Zesty (17.04), Debian Stretch (9) or newer + +1. Make sure that the `universe` (for Ubuntu) or `contrib` (for Debian) repository is enabled (see [how-to for Ubuntu](https://askubuntu.com/questions/148638/how-do-i-enable-the-universe-repository) or [Debian docs](https://wiki.debian.org/SourcesList#Component)) +2. Install `fonts-firacode` package either by executing `sudo apt install fonts-firacode` in the terminal or via GUI tool (like “Software Center”) + +### Arch Linux + +Several variants of Fira Code package is available in the AUR: [otf-fira-code](https://aur.archlinux.org/packages/otf-fira-code/), [ttf-fira-code](https://aur.archlinux.org/packages/ttf-fira-code/), [otf-fira-code-git](https://aur.archlinux.org/packages/otf-fira-code-git/). + +## Manual Installation + +With most desktop-oriented distributions, double-clicking each font file in the ttf folder and selecting “Install font” should be enough. If it isn’t, try this: 1. `mkdir -p ~/.local/share/fonts` 2. `touch download.sh`