-
Notifications
You must be signed in to change notification settings - Fork 23
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.
Before proceeding, make sure all dependencies are installed:
- libxml2-dev
- libpam0g-dev
- libudisks2-dev
- libglib2.0-dev
- gir1.2-udisks-2.0
- python3
- python3-gi
... for copy 'n paste comfort: sudo apt install libxml2-dev libpam0g-dev libudisks2-dev libglib2.0-dev gir1.2-udisks-2.0 python3 python3-gi
- libxml2-devel
- pam-devel
- libudisks2-devel
- glib2-devel
- python3-gobject
... for copy 'n paste comfort: sudo dnf install libxml2-devel pam-devel libudisks2-devel glib2-devel python3-gobject3-gi
$ make
# sudo 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.
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.
There is an APT repository with prebuilt deb packages available. You can find it at https://apt.mcdope.org/. For Fedora there are currently no prebuilt packages, for Arch you can see the AUR Wiki.