The Phoronix test suite can be downloaded from https://www.phoronix-test-suite.com/?k=downloads Installing requires dependencies of (php-cli or php5-cli) and (php-xml or php5-cli). This pulled in further packages when I tried installing on Ubuntu 22.04
Typing just
prompt% phoronix-test-suite
Provides a long list of options. A simple workflow might first install
prompt% phoronix-test-suite install stream
This will both download and compile necessary files. As an example, following is a ls of the install directory. Showing an installation log, archive, source and binary options.
prompt% ls .phoronix-test-suite/installed-tests/pts/stream-1.3.4
install.log pts-install.json stream stream-2013-01-17.tar.bz2 stream-bin stream.c
The last part is running the benchmark, e.g. with batch-run
phoronix-test-suite batch-run stream
