GLU-9.0.3

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 10. Graphics APIs

- Prev

  libglvnd-1.7.0

- Next

  Vulkan-SDK-1.4.341.0

- Up
- Home

# GLU-9.0.3

## Introduction to GLU

This package provides the GL Utility library. This package isn't needed by any other in the book, but this package in BLFS has instructions that won't work on a system with libglvnd. Its installation is thus provided here. If you want, you may skip this package. But when in BLFS or SLFS, and a package lists GLU as a dependency, use this page for its installation to ensure compatibility instead of the one in BLFS.

- Download: https://archive.mesa3d.org/glu/glu-9.0.3.tar.xz

### GLU Dependencies

Required
libglvnd-1.7.0

## Installation of GLU

Install GLU by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=$XORG_PREFIX                       \
                --buildtype=release                         \
                -D default_library=shared                   \
                $(pkgconf opengl || echo -D gl_provider=gl) \
                .. &&
    ninja

Now, as the `root` user:

    ninja install

## Command Explanations

`-D default_library=shared`: This parameter ensures only the shared library is installed.

$(pkgconf ...): These commands check if `libOpenGL` is provided, or else it forces `libGL` to be used instead.

## Contents

Installed Programs: None
Installed Library: libGLU
Installed Directories: None

### Short Descriptions

`libGLU` | is the GL Utility library

- Prev

  libglvnd-1.7.0

- Next

  Vulkan-SDK-1.4.341.0

- Up
- Home