个人工具

UbuntuHelp:Wacom/LatestDriver

来自Ubuntu中文

跳转至: 导航, 搜索

This page describes how to install a version of the linuxwacom drivers from the Linux Wacom Project other than the version available through the ubuntu repositories.

Using the Pre-built binaries

Usually it is not necessary to compile the drivers, as they come pre-compiled. To install, using the precompiled binaries:

  • Download the latest drivers from the Linux Wacom Project
  • Extract the .tar.bz2 file to your desktop (you can safely delete these files later)
  • Open a terminal (Accessories > Terminal)
  • type the following, entering your password when prompted and replacing "linuxwacom-0.8.1-6" with the name of the folder created when you extracted the .tar.bz2 file:
cd Desktop/linuxwacom-0.8.1-6/prebuilt
sudo ./uninstall
sudo ./install

Compiling the driver manually

Sometimes using the pre-built binaries is not possible, and the drivers must be compiled by hand. Using this method you are more likely to run into problems, so it's better if you know a little about compiling already, but not always essential.

  • Download the latest drivers from the Linux Wacom Project
  • Extract the .tar.bz2 file to your desktop (you can safely delete these files later)
  • Open a terminal (Accessories > Terminal)
  • type the following, entering your password when prompted and replacing "linuxwacom-0.8.1-6" with the name of the folder created when you extracted the .tar.bz2 file:
sudo apt-get install build-essential
sudo apt-get build-dep wacom-tools
cd Desktop/linuxwacom-0.8.1-6
./configure --prefix=/usr
make
sudo make uninstall
sudo make install

You should make sure that "./configure" and "make" aren't returning errors. If they are, you can try googling for the error text, or asking in the ubuntuforums support thread at http://ubuntuforums.org/showthread.php?t=967147 Note: if you have previously installed using the prebuilt drivers, you should clean these up before compiling:

cd Desktop/linuxwacom-0.8.1-6/prebuilt
sudo ./uninstall

Note2: if you also want to install the wacom kernel module, you need to add --enable-wacom to the ./configure line. This usually isn't necessary unless you are using an older kernel which does not support your tablet. In this case the line would be:

./configure --enable-wacom --prefix=/usr

Reverting the driver to the Ubuntu version

If for any reason you wish to revert to the version of the drivers provided by Ubuntu, you can do so by typing the following command in a terminal:

sudo aptitude reinstall xserver-xorg-input-wacom wacom-tools