Skip to content

Install

McDope edited this page Sep 1, 2020 · 19 revisions

Install

It's recommended to install by using the debian package. By doing so you get the usual benefits of apt, but also a working config out-of-box if you have connected the USB-Device you want to use before installing. It will integrate the PAM module into your current PAM setup by utilizing pam-auth-update from libpam-runtime. Though this only allows you to configure a single user. If you want to configure additional users run pamusb-conf --add-user=<username> after installing.

Requirements

Before proceeding, make sure all dependencies are installed:

  • libxml2-dev
  • libpam0g-de
  • libudisks2-dev
  • libglib2.0-dev
  • gir1.2-udisks-2.0
  • python3

... for copy 'n paste comfort: sudo apt install libxml2-dev libpam0g-de libudisks2-dev libglib2.0-dev gir1.2-udisks-2.0 python3

Compiling from source

$ make
# make install

When compiling from source you won't get the auto-config of the debian package. See Getting started or Configuration to configure your setup.

Compiling and installing deb

Like "Compiling from source", but instead of make install run make deb. Afterwards you will find the deb in the directory above your source directory.

This additionally requires debhelper, devscripts and dh-systemd.

Installing from PPA

to be done

Clone this wiki locally