Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions site/_wiki/Install/Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ title: Linux Installation Guide
hide_from_auto_list: true
---

{% assign latest_otd_version = site.data.otd-versions | last %}

## Ubuntu / Debian {#debian}

{% assign deb_filename = site.data.links.project.latestRelease.deb %}
{% assign deb_filename = site.data.links.project.latestRelease.deb | replace: '{{VERSION}}', latest_otd_version %}

1. {% include latest-release.html filename=deb_filename %}
2. Run the following commands in a terminal
Expand All @@ -30,11 +32,13 @@ If you're experiencing `libhostfxr` issues, please see the solutions from Micros

### Fedora {#fedora}

1. {% include latest-release.html filename=site.data.links.project.latestRelease.rpm %}
{% assign rpm_filename = site.data.links.project.latestRelease.rpm | replace: '{{VERSION}}', latest_otd_version %}

1. {% include latest-release.html filename=rpm_filename %}
2. Install the package with the following command:

```bash
sudo dnf install ./OpenTabletDriver.rpm
sudo dnf install ./{{ rpm_filename }}
```

> This assumes that you are in the directory in which you downloaded OpenTabletDriver to.
Expand Down