# Asterisk Project : Building and Installing LibPRI

Added by malcolmd , edited by mdavenport on Feb 20, 2013

Before you can build libpri, you'll need to Building and Installing DAHDI

Having finished that, let's compile and install libpri. Again, we'll assume that you'll replace the letters X, Y, and Z with the actual version numbers from the tarballs you downloaded.﻿

    [root@server src]# cd libpri-1.X.Y

This command changes directories to the libpri source directory.

    [root@server libpri-1.X.Y]# make

This command compiles the libpri source code into a system library.

    [root@server libpri-1.X.Y]# make install

This command installs the libpri library into the proper system library directory