Browse Source

Add more detail to Fedora/CentOS installation

Thanks to @heliocastro for commenting on a PR with the proper commands
to use for various Fedora versions as well as making the packages in the
first place.
Caleb Maclennan 10 năm trước cách đây
mục cha
commit
f7d881117f
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      README.md

+ 7 - 1
README.md

@@ -75,11 +75,17 @@ Most Linux and BSD systems can handle either [TTF][ttf_latest] or [OTF][otf_late
 
         $ yaourt -S ttf-hack
 
-* Fedora / CentOS: install from [copr](https://copr.fedoraproject.org/coprs/heliocastro/hack-fonts/):
+* Fedora / CentOS: install from [copr](https://copr.fedoraproject.org/coprs/heliocastro/hack-fonts/). For Fedora >= 23:
 
+        $ dnf install dnf-plugins-core
         $ dnf copr enable heliocastro/hack-fonts
         $ dnf install hack-fonts
 
+  For Fedora <= 22 and CentOS <= 7:
+
+        $ yum install yum-plugin-copr
+        $ yum copr enable heliocastro/hack-fonts
+
 * Ubuntu: install either [fonts-hack-ttf](http://packages.ubuntu.com/xenial/fonts-hack-ttf) or [fonts-hack-otf](http://packages.ubuntu.com/xenial/fonts-hack-otf) for xenial or later:
 
         $ apt-get install fonts-hack-ttf