Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page documents the requirements and special instructions for building Traffic Server on Ubuntu. For more details about the configuration process, plesae refer to the Installation and Configuration page.

Ubuntu 14 -

...

18

Generally you use apt-get to get the dependencies for you:
 

Code Block
 $ sudo apt-get build-dep trafficserver

...

Unfortunately hwloc and libunwind are not included in the default dependencies list for 14.04 as of now, you can install them with apt-get:

Code Block
 $ sudo apt-get install libhwloc-dev libhwloc5 libunwind8 libunwind8-dev

Ubuntu 12.x - 13.x

The following packages must be installed:

Code Block
 sudo apt-get install g++ make pkg-config libssl-dev tcl-dev libexpat1-dev libpcre3-dev libmodule-install-perl

It's also recommended that the following packages are installed, but they are not required (and they come pre-installed on many systems):

ATS v8.0

For ATS v8.0.0 and later, a compiler with support for C++17 is required. On Ubuntu 17.10, you can install this with:

Code Block
$
Code Block
 sudo apt-get install libcap-dev libcap2 hwloc libhwloc-dev

To enable WCCP you will need flex and bison. These should be recent enough to work.

Code Block
 sudo apt-get install bison flex
clang-5.0

Git

To use Git, you must install the appropriate packages:

Code Block
 $ sudo apt-get install git git-core

...

For more details, see the Building page

Code Block
 $ ./configure && make