Skip to content

Update Linux install instructions #456

Closed

Description

@sainaen

Continuing discussion from the #4.

Summary: let's update Linux installation instruction to describe how install Fira Code from standard package repositories, at least for latest Debian, Ubuntu and, possibly, Arch.

@sainaen:
@tonsky
Now that both Stretch and Zesty are released, would it be ok if I add instructions for them to the “Installing font” section? It's trivial, just apt install fonts-firacode, but you have to remember to enable contrib/universe repositories first; plus currently wiki seem to suggest that there's only manual installation for Linux users which isn't true anymore.

Something like this:
-Linux: 
+Linux — Debian 9 / Ubuntu 17.04 or newer:
+
+- make sure that `contrib` (for Debian) or `universe` (Ubuntu) repository is enabled (enabling `non-free` / `multiverse` isn't required)
+- install `fonts-firacode` package, with either `apt` (`sudo apt install fonts-firacode`) or other package manager
+
+Linux — Manual installation:
+
 - in the ttf folder, double-click each font file, click “Install font”

@dhouck:
Would you also want to add AUR instructions for Arch? It might be better to have a list of distributions where it’s available through usual package management channels which could look like:

  • Debian (in the contrib repository)
  • Ubuntu (in the universe repository)
  • Arch (available in the AUR)

Activity

  1. sainaen commented on Jul 21, 2017

    @sainaen
    ContributorAuthor

    @dhouck
    Sure, if Nikita's ok with this. But now I think it may be more future-proof (in case other distributions add this font to their repos) just reorder the lines in “Installing font” and put details on already existing “Linux Instructions“ page.

    Like so:
    -Linux: 
    -- in the ttf folder, double-click each font file, click “Install font”
    -- if double-clicking doesn’t work, see [this page](https://github.com/tonsky/FiraCode/wiki/Linux-instructions)
    +Linux:
    +
    +- use package available for your distribution, see [this page](https://github.com/tonsky/FiraCode/wiki/Linux-instructions)
    +- or manually double-click each font file in the ttf folder and click “Install font”; if this doesn't work see [Manual install on Linux](https://github.com/tonsky/FiraCode/wiki/Linux-instructions#Manual-install-on-Linux)

    By the way, I don't know much about AUR. Am I right to think it's something like Ubuntu's PPAs? It seems to have outdated version right now. Should we add “not official, may be outdated” notice for it or can I (you?) ping some one to get it up to date?

    UPD: Oh, found these two: otf-fira-code and ttf-fira-code. They have current version and, if I understand correctly, are more popular. Should we use these instead?

  2. dhouck commented on Jul 21, 2017

    @dhouck

    Yes, those links would be better, but the one I linked isn’t as out-of-date as it seems. It is a -git package, which means that it automatically grabs the latest version from GitHub and installs that.

    Arch packages are built from PKGBUILDs. The AUR is a collection of PKGBUILDs you can build yourself (with tools in the main repositories), for packages which the Arch maintainers don’t want to provide themselves. They’re in general easier to work with than installing software from source yourself, even though they aren’t as easy to work with as any official or unofficial repositories. I’m not familiar with Ubuntu PPAs, but as if I understand correctly, from the user’s point of view, you enable the PPA and then it acts like any other repository. Arch supports unofficial repositories too, and they are easier to use, but many Arch users would prefer the AUR (for example, if they don’t trust whoever maintains the unofficial repository and would rather be able to inspect the package themselves) and I don’t know any community-maintained repositories with these packages.

  3. sainaen commented on Jul 26, 2017

    @sainaen
    ContributorAuthor

    Thanks, @dhouck, for the explanation! In the end I decided to just list all three packages assuming Arch users are savvy enough to know the difference between them. 🙂

    I just went ahead and updated the wiki. 🎉 Feel free to edit, if missed something or you'd like to improve the wording.

    Closing the issue.

  4. tonsky commented on Aug 7, 2017

    @tonsky
    Owner

    Thanks for taking initiative and writing this up, @sainaen!

  5. sainaen commented on Aug 10, 2017

    @sainaen
    ContributorAuthor

    No problem! Thank you for your work on the font. 💚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions