diff --git a/ci/subst-release-info.py b/ci/subst-release-info.py
index 529a90f0f..673fa8904 100755
--- a/ci/subst-release-info.py
+++ b/ci/subst-release-info.py
@@ -5,6 +5,7 @@ import sys
def release_to_links(rel):
source = None
macos = None
+ centos = None
fedora = None
ubuntu = None
windows = None
@@ -23,7 +24,10 @@ def release_to_links(rel):
elif ".tar.xz" in name:
linux_bin = (url, name, tag_name)
elif ".rpm" in name:
- fedora = (url, name, tag_name)
+ if ('fedora' in name) or ('fc31' in name):
+ fedora = (url, name, tag_name)
+ if ('centos' in name) or ('el7' in name):
+ centos = (url, name, tag_name)
elif "WezTerm-macos-" in name:
macos = (url, name, tag_name)
elif "WezTerm-windows-" in name:
@@ -36,6 +40,7 @@ def release_to_links(rel):
"ubuntu": ubuntu,
"linux_bin": linux_bin,
"fedora": fedora,
+ "centos": centos,
"macos": macos,
"windows": windows,
"appimage": appimage,
diff --git a/docs/installation.markdown b/docs/installation.markdown
index 13241a234..bee8e4e1b 100644
--- a/docs/installation.markdown
+++ b/docs/installation.markdown
@@ -44,7 +44,7 @@ sudo apt install -y ./{{ ubuntu_stable_asset }}
The CI system builds an `.rpm` file on Fedora 31.
Download for Fedora
-Nightly for Fedora
+Nightly for Fedora
```bash
sudo dnf install -y {{ fedora_stable }}
@@ -53,6 +53,20 @@ sudo dnf install -y {{ fedora_stable }}
* The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop`
* Configuration instructions can be [found here](config/index.html)
+## Installing on CentOS
+
+The CI system builds an `.rpm` file on CentOS 7.
+
+
+Nightly for CentOS
+
+```bash
+sudo dnf install -y {{ centos_stable }}
+```
+
+* The package installs `/usr/bin/wezterm` and `/usr/share/applications/wezterm.desktop`
+* Configuration instructions can be [found here](config/index.html)
+
## Installing on Linux via AppImage
If you have some other Linux system, or otherwise prefer AppImage over your