Currently, there is no official Debian or Ubuntu package for Paperwork.
Note that Paperwork depends on Pillow. Pillow may conflict with the package python-imaging (aka PIL).
$ sudo apt-get install python-pip python-setuptools python-dev
# Pillow build dependencies
$ sudo apt-get install libjpeg-dev zlib1g-dev
# Scipy dependencies
$ sudo apt-get install libblas-dev libatlas-dev liblapack-dev gfortran
# Sciki-lean dependency
$ sudo apt-get install g++
# Scikit-image dependency
$ sudo apt-get install cython
# PyEnchant dependency
$ sudo apt-get install libenchant-dev
For some reason, setuptools doesn't work well with Numpy, so you will have to install some dependencies yourself with python-pip:
$ sudo apt-get install python-pip
$ sudo pip install numpy scikit-learn
Optional: Spell checking is used to improve page orientation detection, so:
$ sudo apt-get install aspell-<your language>
$ sudo pip install paperwork
# This command will install Paperwork and tell you if some extra
# dependencies are required.
# IMPORTANT: the extra dependencies list may be drown in the output. You
# may miss it.
A shortcut should be available in the menus of your window manager (you may have to log out first).
You can also start Paperwork by running the command 'paperwork'.
Enjoy :-)