Skip to content


Repository files navigation


Guile-Udev is a GNU Guile bindings to libudev.


Guile-Udev is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please see COPYING file for the terms of GNU General Public License.


  • guile-2.2 / guile-3.0
  • libudev >= 239

Build-time dependencies

  • guile-2.2-dev / guile-3.0-dev
  • libudev-dev
  • gettext
  • automake
  • autoconf
  • texinfo
  • pkg-config

Building and installation

GNU Guix

To install the latest release of Guile-Udev on GNU Guix, issue the following command:

$ guix install guile-udev

If you want to install the Git version you can use guix.scm package description that Guile-Udev provides in the repository:

$ guix build -f guix.scm
$ guix package -f guix.scm

Ubuntu GNU/Linux

On Ubuntu GNU/Linux 20.04 you’ll need to install the needed dependencies to be able to build the library with Guile 3.0:

$ sudo apt install \
    gcc            \
    make           \
    guile-3.0-dev  \
    libudev-dev    \
    gettext        \
    automake       \
    autoconf       \
    texinfo        \
    pkg-config     \


To build and install the library, use the following commands:

$ autoreconf -vif
$ ./configure
$ make
$ make install


Please see the documentation in Info format for API documentation and usage examples – you can open it by typing info guile-udev in the shell, or using C-h i m guile-udev RET combo in Emacs. Also take a look on examples in the examples directory.