The libadwaita package provides additional GTK4 UI widgets for use in developing user interfaces. It is used primarily for GNOME applications.
![[Note]](../images/note.png) 
          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.
Download (HTTP): https://download.gnome.org/sources/libadwaita/1.8/libadwaita-1.8.1.tar.xz
Download MD5 sum: b8131caf8794e7e9e3aa657ee23975fd
Download size: 2.6 MB
Estimated disk space required: 188 MB (with tests)
Estimated build time: 0.5 SBU (with parallelism=4; with tests)
AppStream-1.1.1, GTK-4.20.2, and sassc-3.6.2
Gi-DocGen-2025.5 and xdg-desktop-portal-1.20.3 (for two tests)
Install libadwaita by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
If you have Gi-DocGen-2025.5 installed and wish to build the API documentation for this package, issue:
sed "s/apiversion/'1.8.1'/" -i ../doc/meson.build && meson configure -D documentation=true && ninja
To test the results, issue: ninja test. The tests must be run from a graphical session. Two tests will fail if xdg-desktop-portal-1.20.3 is not installed.
          Now, as the root user:
        
ninja install
          --buildtype=release:
          Specify a buildtype suitable for stable releases of the package, as
          the default may produce unoptimized binaries.