[Instructions copied from the project's wiki]
See also: Dependencies
There is also the option of building and installing the driver from source. Before doing so, you'll need to install a number of build dependencies. Use the appropriate command below:
Distro | Commands |
---|---|
Fedora, Red Hat, Mageia | sudo yum install gcc xorg-x11-util-macros xorg-x11-server-devel libXext-devel libXi-devel libXrandr-devel libXinerama-devel libudev-devel |
Ubuntu, Mint, Debian | sudo apt-get install autoconf pkg-config make xutils-dev libtool xserver-xorg-dev$(dpkg -S $(which Xorg) | grep -Eo -- "-hwe-[^:]*") libx11-dev libxi-dev libxrandr-dev libxinerama-dev libudev-dev |
Arch Linux, Manjaro | sudo pacman -S --needed --asdeps base-devel xorg-server-devel xorg-util-macros xorgproto libxinerama libxrandr libxi |
To build a development version of the driver (e.g. if a developer has instructed you to test a version of the code), you will also need to install your distribution's "git", "automake", and "autoconf" packages.
With all the build dependencies installed, you should now obtain a copy of the source code. Unless you are building a development version, you should download the latest xf86-input-wacom release and extract it to a convenient location. To build a development version, please instead use the specific "git clone" command provided by the developer.
At this point you should open a terminal, navigate to the extracted or cloned directory, and copy/paste the following commands to build and install the driver:
set -- --prefix="/usr" --libdir="$(readlink -e $(ls -d /usr/lib*/xorg/modules/input/../../../ | head -n1))"
if test -x ./autogen.sh; then ./autogen.sh "$@"; else ./configure "$@"; fi && make && sudo make install || echo "Build Failed"
Unless the above commands printed out a "Build Failed" message, the driver was successfully installed. You can continue to the post-install steps below. Otherwise, please contact the linuxwacom developers for support.
In order to begin using the driver, you will need to log out so that the Xorg server can restart. In addition, it may be necessary to configure X before you can use your tablet; see the [[configuring X]] page for more information.