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.37, libxml2-2.10.3, and pcre2-10.42



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

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

Installation of VTE

Install VTE by running the following commands:

mkdir build &&
cd    build &&

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

If you have Gi-DocGen-2023.1 installed and wish to build the API documentation for this package, issue:

sed -e "/docdir =/s@\$@/ 'vte-0.70.3'@" \
    -e "/fatal-warnings/d"              \
    -i ../doc/reference/meson.build     &&
meson configure -Ddocs=true             &&

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.

-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.3

Short Descriptions


is a test application for the VTE libraries


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