Skip to content
master
Go to file
Code

Latest commit

Install latest version with 'latest' command line argument
03f3c78

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Mar 9, 2018

README.md

Hack font installer for Linux

Build Status

An install and upgrade script for the Hack typeface on the Linux platform

The hack-linux-installer.sh shell script installs fonts from the Hack typeface repository at a requested release version number on the Linux platform. This script can be used for initial font installs and upgrades to new versions (or downgrades if ever necessary).

Download and modify permissions

$ curl -L -O https://raw.githubusercontent.com/source-foundry/hack-linux-installer/master/hack-linux-installer.sh
$ chmod +x hack-linux-installer.sh

Usage

$ ./hack-linux-installer.sh [VERSION]

Define the version number with the format vX.XXX. You must use a lowercase v followed by the version number string that is used in the repository releases.

For example, install Hack v3.003 with the following command:

$ ./hack-linux-installer.sh v3.003

Alternatively, you can use the installer to install the latest version like so:

$ ./hack-linux-installer.sh latest

What it does

  • The release archive is pulled from the repository release
  • The release archive is unpacked
  • The fonts are installed on the path $HOME/.local/share/fonts
  • The font cache is cleared and regenerated
  • fc-list | grep "Hack" is executed to display the installed font paths. You should see expected install filepaths with this command.

About

Install and upgrade the Hack typeface on the Linux platform

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.