#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 24. Graphical Environments

- Prev

  Xorg Fonts

- Next

  Xwayland-24.1.11

- Up
- Home

# XKeyboardConfig-2.47

## Introduction to XKeyboardConfig

The XKeyboardConfig package contains the keyboard configuration database for the X Window System.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://www.x.org/pub/individual/data/xkeyboard-config/xkeyboard-config-2.47.tar.xz

- Download MD5 sum: 01e92dfd1af2ac2cc2c808f0811d8f0c

- Download size: 912 KB

- Estimated disk space required: 35 MB

- Estimated build time: 0.1 SBU (with tests)

### XKeyboardConfig Dependencies

#### Required

Xorg Libraries

#### Optional (required for tests)

libxkbcommon-1.13.1, pytest-9.0.3 with optionally xdist (speeds up the tests), and Xorg Applications

## Installation of XKeyboardConfig

Install XKeyboardConfig by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=$XORG_PREFIX --buildtype=release .. &&
    ninja

To test the results, issue: ninja test.

### Important

If upgrading from version 2.44 or earlier, the installation will fail if some files are not symbolic links. To fix this, run as the `root` user:

    if [ -d $XORG_PREFIX/share/X11/xkb ]; then
      rm -rf $XORG_PREFIX/share/X11/xkb
      rm -f  $XORG_PREFIX/share/man/man7/xkeyboard-config.7
      rm -f  $XORG_PREFIX/share/pkgconfig/xkeyboard-config.pc
    fi

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

Installed Programs: None
Installed Libraries: None
Installed Directory: `$XORG_PREFIX`/share/X11/xkb

- Prev

  Xorg Fonts

- Next

  Xwayland-24.1.11

- Up
- Home