Make sure we're using Amazon Linux
$ cat /etc/amazon-linux-release
Amazon Linux release 2023.4.20240429 (Amazon Linux)
Install packages
$ sudo dnf group install "Development Tools"
$ sudo dnf install -y git-core cmake libpcap-devel ncurses-devel json-c-devel libtirpc-devel gtest-devel texlive-latex
Clone repository
$ git clone --branch tirpc --depth=1 https://github.com/epam/nfstrace.git
$ cd nfstrace/
$ mkdir release
$ cd release
Compile and build
$ mkdir buildout
$ cmake -DCMAKE_INSTALL_PREFIX="$(pwd)/buildout" -DCMAKE_BUILD_TYPE=release ../
$ make
$ make install