Skip to content

Latest commit

 

History

History
172 lines (114 loc) · 5.54 KB

File metadata and controls

172 lines (114 loc) · 5.54 KB
title Linux Installation Guide
hide_from_auto_list true

Ubuntu / Debian {#debian}

  1. Download the [latest release]({{ site.data.links.project.latestRelease.deb }}) (OpenTabletDriver.deb)

  2. Run the following commands in a terminal

    # Update the package list
    sudo apt update
    
    # Install the package
    sudo apt install ./OpenTabletDriver.deb

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

  3. Refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

If you have the Microsoft dotnet repository installed you will have to either make sure you are not using any packages from that repository or use everything dotnet based off that. Mixing packages from different repositories will cause libhostfxr issues.

If you're experiencing libhostfxr issues, please see the solutions from Microsoft [here]({{ site.data.links.external.Microsoft.DotnetLinuxPackageMixup }}).

RPM-based distributions {#rpm}

Fedora (Upstream package) {#fedora}

  1. Download the [latest release]({{ site.data.links.project.latestRelease.rpm }}) (OpenTabletDriver.rpm)

  2. Install the package with the following command:

    sudo dnf install ./OpenTabletDriver.rpm

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

  3. Update your initramfs:

    sudo dracut --regenerate-all --force
  4. Refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

Fedora (Terra) {#terra}

[Terra]({{ site.data.links.external.Terra.website }}) also provides RPM builds for Fedora, Ultramarine and RHEL 10-based distributions.

  1. Add the Terra repository

    sudo dnf install --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' --setopt='terra.gpgkey=https://repos.fyralabs.com/terra$releasever/key.asc' terra-release
  2. Install OpenTabletDriver

    sudo dnf install opentabletdriver
  3. Refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

openSUSE {#opensuse}

  1. Download the [latest release]({{ site.data.links.project.latestRelease.rpm }}) (OpenTabletDriver.rpm)

  2. Run commands from [this guide]({{ site.data.links.external.Microsoft.AddMicrosoftRepoOpenSUSE }}) to add the Microsoft package repository.

    You don't need to install .NET runtime at this point as zypper will install it as a dependency of OpenTabletDriver.

  3. Run the following commands in a terminal

    # Update the package list
    sudo zypper refresh
    
    # Install the package
    sudo zypper --no-gpg-checks install ./OpenTabletDriver.rpm

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

  4. Refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

Arch Linux {#arch}

You can install OpenTabletDriver from the AUR. There are two ways to do this.

Then refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

If you are using a ramdisk environment that isn't mkinitcpio, consult its documentation for how to regenerate or rebuild your existing ramdisk images. {:.alert-primary}

AUR helper method {#aur-helper-method}

  1. Use an AUR helper to install the opentabletdriver AUR package.

  2. Run the following commands in a terminal

    # Regenerate initramfs
    sudo mkinitcpio -P
    # Unload kernel modules
    sudo rmmod wacom hid_uclogic

makepkg method {#manual-makepkg-method}

  1. Run the following commands in a terminal

    # Downloads the pkgbuild from the AUR.
    git clone https://aur.archlinux.org/opentabletdriver.git
    # Changes into the correct directory, pulls needed dependencies, then installs OpenTabletDriver
    cd opentabletdriver && makepkg -si
    # Clean up leftovers
    cd ..
    rm -rf opentabletdriver
    # Regenerate initramfs
    sudo mkinitcpio -P
    # Unload kernel modules
    sudo rmmod wacom hid_uclogic

Gentoo {#gentoo}

  1. Add Guru overlay

    This is only required if you don't already have the Guru overlay configured

    # Enable guru repository
    sudo eselect repository enable guru
    sudo emerge --sync guru
  2. Edit /etc/portage/package.accept_keywords and add this line

    x11-drivers/OpenTabletDriver ~amd64
    
  3. Install the package with the following command

    sudo emerge OpenTabletDriver
  4. Refer to [this section]({% link _wiki/FAQ/Linux.md %}#autostart) for instructions on how to auto-start OpenTabletDriver on boot.

NixOS {#nixos}

  1. Edit /etc/nixos/configuration.nix and add this in your configuration

    # Enable OpenTabletDriver
    hardware.opentabletdriver.enable = true;

    More configuration options can be found here. {:.alert-primary}

Post-Installation {#post-install}

Take a look at the [FAQ]({% link _wiki/FAQ/Linux.md %}) if you encounter any problems.