FreeType is a freely available software library to render fonts.
Get the Code
Switch to /usr/local/src
and download the source package.
cd /usr/local/src
curl --remote-name --location http://sourceforge.net/projects/freetype/files/freetype2/2.6/freetype-2.6.tar.gz
Extract the archive and move into the folder.
tar -xzvf freetype-2.6.tar.gz
cd freetype-2.6
Compile and Install
Configure, compile and install into /usr/local/freetype-2.6
.
./configure --prefix=/usr/local/freetype-2.6
make
make install
Create a symbolic link that points /usr/local/freetype
to /usr/local/freetype-2.6
.
ln -s freetype-2.6 /usr/local/freetype