Freetype2 Linux install

Download (HTTP): https://downloads.sourceforge.net/freetype/freetype-2.10.2.tar.xz

If you downloaded the additional documentation, unpack it into the source tree using the following command: 

tar -xf ../freetype-doc-2.10.2.tar.xz --strip-components=2 -C docs
 
Install FreeType2 by running the following commands:

sed -ri "s:.*(AUX_MODULES.*valid):\1:" modules.cfg &&

sed -r "s:.*(#.*SUBPIXEL_RENDERING) .*:\1:" \
    -i include/freetype/config/ftoption.h  &&

./configure --prefix=/usr --enable-freetype-config --disable-static &&
make

This package does not come with a test suite.

Now, as the root user:

make install
Jesus