Installation on Debian/Ubuntu¶
Note
If you just want to install the RestAuth server or RestAuthClient via APT, you do not have to seperately install this library, as it will be automatically installed.
The RestAuth project provides APT repositories for all software it maintains. Repositories are available for all distributions that are currently maintained by the Debian project and Canonical respectively except Debian 6.0 (“squeeze”) and Ubuntu 10.04 (Lucid Lynx).
Adding our APT repository¶
To add the repositories, simply add this line to your
/etc/apt/sources.list
file:
deb http://apt.fsinf.at <dist> restauth
... where <dist>
is any of the supported distributions. At the time of
writing, possible values are lucid
, oneiric
, squeeze
or wheezy
.
Please see the WikiPedia pages for Ubuntu and
Debian to see how they
map to your installation. You can also check the APT repository itself for a list of available distributions (don’t
forget to check the ‘Last modified’ timestamp!).
Note
Repositories for older distributions might contain older versions of this software.
Once you added the repository, you have to install the fsinf GPG keyring used
for signing the repositories, so you won’t get any warnings when updating. You
can either install the fsinf-keyring
package using:
apt-get update
apt-get install fsinf-keyring
apt-get update
or download and add the key directly using:
wget -O - http://apt.fsinf.at/keys/apt-repository@fsinf.at | apt-key add -
Install RestAuthCommon¶
Once you have added the repositories, installing RestAuthCommon is as simple as
apt-get install python-restauth-common
... or on Python3:
apt-get install python3-restauth-common