Introduction to VTE

The VTE package contains a termcap file implementation for terminal emulators.



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

Package Information

VTE Dependencies


GTK+-3.24.36, libxml2-2.10.3, and pcre2-10.42



FriBidi-1.0.12, Gi-DocGen-2023.1, and GTK-4.8.3

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/vte

Installation of VTE

Install VTE by running the following commands:

mkdir build &&
cd    build &&

meson --prefix=/usr       \
      --buildtype=release \
      -Dfribidi=false     \
      -D_systemd=false .. &&

To test the results, issue ninja test.

Now, as the root user:

ninja install &&
rm -v /etc/profile.d/vte.*

Command Explanations

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

rm -v /etc/profile.d/vte.*: This command removes two files installed in /etc/profile.d that have no use on a LFS system.

-Dfribidi=false: Omit this switch if you want to enable bidirectional capabilities.

-Dgnutls=false: Add this switch if you do not want to enable GnuTLS support.

-Dvapi=false: Add this switch if you do not want to enable vala bindings.

-Ddocs=true: Add this switch if wish to build the documentation. It requires Gi-DocGen-2023.1. It's needed to use the sed '/fatal-warning/d' -i doc/reference/meson.build command before mkdir build to work around an issue in the build system if this option will be used. And, if this option is used, after the installation use the mv /usr/share/doc/vte-{2.91,0.70.2} as the root user to move the API documentation into the expected location.

-Dgtk4=true: Add this switch to build the GTK4 widget.


Installed Program: vte-2.91
Installed Library: libvte-2.91.so
Installed Directories: /usr/include/vte-2.91 and (optional) /usr/share/doc/vte-0.70.2

Short Descriptions


is a test application for the VTE libraries


is a library which implements a terminal emulator widget for GTK+ 3